Enum tide_disco::UrlSegment
source · pub enum UrlSegment {
Boolean(Option<bool>),
Hexadecimal(Option<u128>),
Integer(Option<u128>),
TaggedBase64(Option<TaggedBase64>),
Literal(Option<String>),
}Variants§
Boolean(Option<bool>)
Hexadecimal(Option<u128>)
Integer(Option<u128>)
TaggedBase64(Option<TaggedBase64>)
Literal(Option<String>)
Implementations§
source§impl UrlSegment
impl UrlSegment
pub fn new(value: &str, vtype: UrlSegment) -> UrlSegment
pub fn is_bound(&self) -> bool
Trait Implementations§
source§impl Clone for UrlSegment
impl Clone for UrlSegment
source§fn clone(&self) -> UrlSegment
fn clone(&self) -> UrlSegment
Returns a copy 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 moresource§impl Debug for UrlSegment
impl Debug for UrlSegment
source§impl FromStr for UrlSegment
impl FromStr for UrlSegment
Auto Trait Implementations§
impl Freeze for UrlSegment
impl RefUnwindSafe for UrlSegment
impl Send for UrlSegment
impl Sync for UrlSegment
impl Unpin for UrlSegment
impl UnwindSafe for UrlSegment
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