pub enum BlockEventType {
Added,
Removed,
}Expand description
BlockEventType : BlockEventType determines if a BlockEvent represents the addition or removal of a block. BlockEventType determines if a BlockEvent represents the addition or removal of a block.
Variants§
Trait Implementations§
Source§impl Clone for BlockEventType
impl Clone for BlockEventType
Source§fn clone(&self) -> BlockEventType
fn clone(&self) -> BlockEventType
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 BlockEventType
impl Debug for BlockEventType
Source§impl Default for BlockEventType
impl Default for BlockEventType
Source§fn default() -> BlockEventType
fn default() -> BlockEventType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockEventType
impl<'de> Deserialize<'de> for BlockEventType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockEventType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockEventType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for BlockEventType
impl Hash for BlockEventType
Source§impl Ord for BlockEventType
impl Ord for BlockEventType
Source§fn cmp(&self, other: &BlockEventType) -> Ordering
fn cmp(&self, other: &BlockEventType) -> 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 BlockEventType
impl PartialEq for BlockEventType
Source§impl PartialOrd for BlockEventType
impl PartialOrd for BlockEventType
Source§impl Serialize for BlockEventType
impl Serialize for BlockEventType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl ToString for BlockEventType
impl ToString for BlockEventType
impl Copy for BlockEventType
impl Eq for BlockEventType
impl StructuralPartialEq for BlockEventType
Auto Trait Implementations§
impl Freeze for BlockEventType
impl RefUnwindSafe for BlockEventType
impl Send for BlockEventType
impl Sync for BlockEventType
impl Unpin for BlockEventType
impl UnwindSafe for BlockEventType
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