#[repr(u8)]pub enum AnnounceType {
Forty = 40,
Twenty = 20,
}
Variants§
Trait Implementations§
Source§impl Clone for AnnounceType
impl Clone for AnnounceType
Source§fn clone(&self) -> AnnounceType
fn clone(&self) -> AnnounceType
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 AnnounceType
impl Debug 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 From<u8> for AnnounceType
impl From<u8> for AnnounceType
Source§impl FromPrimitive for AnnounceType
impl FromPrimitive for AnnounceType
Source§impl PartialEq for AnnounceType
impl PartialEq 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