pub struct InternalUrlMetadata {
pub slashable: bool,
pub base_path: Option<String>,
pub format: Option<String>,
}Expand description
Internal URL metadata.
Fields§
§slashable: boolWhether the path representation is “slashable”.
base_path: Option<String>The optional base path (used when slashable is false).
format: Option<String>The optional format.
Implementations§
Trait Implementations§
Source§impl Clone for InternalUrlMetadata
impl Clone for InternalUrlMetadata
Source§fn clone(&self) -> InternalUrlMetadata
fn clone(&self) -> InternalUrlMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InternalUrlMetadata
impl RefUnwindSafe for InternalUrlMetadata
impl Send for InternalUrlMetadata
impl Sync for InternalUrlMetadata
impl Unpin for InternalUrlMetadata
impl UnwindSafe for InternalUrlMetadata
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