pub enum ContentTypeTypes {
Uint(u32),
Tstr(String),
}
Expand description
Enum for allowing content-type to be either a String
or a u32
label.
Variants§
Trait Implementations§
Source§impl Clone for ContentTypeTypes
impl Clone for ContentTypeTypes
Source§fn clone(&self) -> ContentTypeTypes
fn clone(&self) -> ContentTypeTypes
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 ContentTypeTypes
impl RefUnwindSafe for ContentTypeTypes
impl Send for ContentTypeTypes
impl Sync for ContentTypeTypes
impl Unpin for ContentTypeTypes
impl UnwindSafe for ContentTypeTypes
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