pub enum StringOrVariable {
String(String),
Variable(Variable),
}Expand description
Variable or string in URL components
Variants§
Trait Implementations§
Source§impl Debug for StringOrVariable
impl Debug for StringOrVariable
Source§impl<'de> Deserialize<'de> for StringOrVariable
impl<'de> Deserialize<'de> for StringOrVariable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StringOrVariable
impl RefUnwindSafe for StringOrVariable
impl Send for StringOrVariable
impl Sync for StringOrVariable
impl Unpin for StringOrVariable
impl UnsafeUnpin for StringOrVariable
impl UnwindSafe for StringOrVariable
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