pub enum AnnounceType {
Announce,
}Expand description
A type stand-in for the constant $y, deriving serde traits
Variants§
Announce
Trait Implementations§
Source§impl Clone for AnnounceType
impl Clone for AnnounceType
Source§fn clone(&self) -> AnnounceType
fn clone(&self) -> AnnounceType
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 AnnounceType
impl Debug for AnnounceType
Source§impl Default for AnnounceType
impl Default for AnnounceType
Source§impl<'de> Deserialize<'de> for AnnounceType
impl<'de> Deserialize<'de> for AnnounceType
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 AnnounceType
impl Display for AnnounceType
Source§impl Hash for AnnounceType
impl Hash for AnnounceType
Source§impl Ord for AnnounceType
impl Ord for AnnounceType
Source§fn cmp(&self, other: &AnnounceType) -> Ordering
fn cmp(&self, other: &AnnounceType) -> 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 AnnounceType
impl PartialEq for AnnounceType
Source§impl PartialOrd for AnnounceType
impl PartialOrd for AnnounceType
Source§impl Serialize for AnnounceType
impl Serialize for AnnounceType
impl Eq for AnnounceType
impl StructuralPartialEq for AnnounceType
Auto Trait Implementations§
impl Freeze for AnnounceType
impl RefUnwindSafe for AnnounceType
impl Send for AnnounceType
impl Sync for AnnounceType
impl Unpin for AnnounceType
impl UnwindSafe for AnnounceType
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