pub struct ResolvedUrl<'u> {
pub file: String,
pub suffix: &'u str,
pub directory: bool,
}Expand description
A relative or root-relative URL resolved to the file it names inside a site.
Fields§
§file: StringThe file’s path inside the site’s root, without a leading slash.
suffix: &'u strThe query and fragment, ?a#b, as written.
directory: boolWhether the URL names a directory: it ends in /, . or ...
Trait Implementations§
Source§impl<'u> Clone for ResolvedUrl<'u>
impl<'u> Clone for ResolvedUrl<'u>
Source§impl<'u> Debug for ResolvedUrl<'u>
impl<'u> Debug for ResolvedUrl<'u>
impl<'u> Eq for ResolvedUrl<'u>
Source§impl<'u> PartialEq for ResolvedUrl<'u>
impl<'u> PartialEq for ResolvedUrl<'u>
impl<'u> StructuralPartialEq for ResolvedUrl<'u>
Auto Trait Implementations§
impl<'u> Freeze for ResolvedUrl<'u>
impl<'u> RefUnwindSafe for ResolvedUrl<'u>
impl<'u> Send for ResolvedUrl<'u>
impl<'u> Sync for ResolvedUrl<'u>
impl<'u> Unpin for ResolvedUrl<'u>
impl<'u> UnsafeUnpin for ResolvedUrl<'u>
impl<'u> UnwindSafe for ResolvedUrl<'u>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.