pub struct Rule006NoAbsoluteUrls { /* private fields */ }
Expand description
Links and images should use relative URLs instead of absolute URLs that match the configured base URL.
§Examples
§Valid
[Documentation](/docs/auth)

§Invalid (assuming base_url is https://supabase.com
)
[Documentation](https://supabase.com/docs/auth)

§Configuration
Configure the base URL via the base_url
setting in your configuration file:
[rule006_no_absolute_urls]
base_url = "https://supabase.com"
Trait Implementations§
Source§impl Debug for Rule006NoAbsoluteUrls
impl Debug for Rule006NoAbsoluteUrls
Source§impl Default for Rule006NoAbsoluteUrls
impl Default for Rule006NoAbsoluteUrls
Source§fn default() -> Rule006NoAbsoluteUrls
fn default() -> Rule006NoAbsoluteUrls
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Rule006NoAbsoluteUrls
impl RefUnwindSafe for Rule006NoAbsoluteUrls
impl Send for Rule006NoAbsoluteUrls
impl Sync for Rule006NoAbsoluteUrls
impl Unpin for Rule006NoAbsoluteUrls
impl UnwindSafe for Rule006NoAbsoluteUrls
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more