pub enum AcceptType {
Accept,
}Expand description
A type stand-in for the constant $y, deriving serde traits
Variants§
Accept
Trait Implementations§
Source§impl Clone for AcceptType
impl Clone for AcceptType
Source§fn clone(&self) -> AcceptType
fn clone(&self) -> AcceptType
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 moreSource§impl Debug for AcceptType
impl Debug for AcceptType
Source§impl Default for AcceptType
impl Default for AcceptType
Source§impl<'de> Deserialize<'de> for AcceptType
impl<'de> Deserialize<'de> for AcceptType
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
Source§impl Display for AcceptType
impl Display for AcceptType
Source§impl Hash for AcceptType
impl Hash for AcceptType
Source§impl Ord for AcceptType
impl Ord for AcceptType
Source§fn cmp(&self, other: &AcceptType) -> Ordering
fn cmp(&self, other: &AcceptType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AcceptType
impl PartialEq for AcceptType
Source§impl PartialOrd for AcceptType
impl PartialOrd for AcceptType
Source§impl Serialize for AcceptType
impl Serialize for AcceptType
impl Eq for AcceptType
impl StructuralPartialEq for AcceptType
Auto Trait Implementations§
impl Freeze for AcceptType
impl RefUnwindSafe for AcceptType
impl Send for AcceptType
impl Sync for AcceptType
impl Unpin for AcceptType
impl UnwindSafe for AcceptType
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