pub struct BeginBlock<Ev> {
pub events: Vec<Ev>,
}Fields§
§events: Vec<Ev>Events that occurred while beginning the block.
Trait Implementations§
Source§impl<Ev: Clone> Clone for BeginBlock<Ev>
impl<Ev: Clone> Clone for BeginBlock<Ev>
Source§fn clone(&self) -> BeginBlock<Ev>
fn clone(&self) -> BeginBlock<Ev>
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<Ev: Debug> Debug for BeginBlock<Ev>
impl<Ev: Debug> Debug for BeginBlock<Ev>
Source§impl<Ev> Default for BeginBlock<Ev>
impl<Ev> Default for BeginBlock<Ev>
Source§impl<'de, Ev> Deserialize<'de> for BeginBlock<Ev>where
Ev: Deserialize<'de>,
impl<'de, Ev> Deserialize<'de> for BeginBlock<Ev>where
Ev: Deserialize<'de>,
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<Ev> From<BeginBlock<Ev>> for BeginBlock
impl<Ev> From<BeginBlock<Ev>> for BeginBlock
Source§fn from(msg: BeginBlock<Ev>) -> Self
fn from(msg: BeginBlock<Ev>) -> Self
Converts to this type from the input type.
Source§impl<Ev> From<BeginBlock> for BeginBlock<Ev>
impl<Ev> From<BeginBlock> for BeginBlock<Ev>
Source§fn from(value: BeginBlock) -> Self
fn from(value: BeginBlock) -> Self
Converts to this type from the input type.
Source§impl<Ev: PartialEq> PartialEq for BeginBlock<Ev>
impl<Ev: PartialEq> PartialEq for BeginBlock<Ev>
Source§impl<Ev> Serialize for BeginBlock<Ev>where
Ev: Serialize,
impl<Ev> Serialize for BeginBlock<Ev>where
Ev: Serialize,
impl<Ev: Eq> Eq for BeginBlock<Ev>
impl<Ev> StructuralPartialEq for BeginBlock<Ev>
Auto Trait Implementations§
impl<Ev> Freeze for BeginBlock<Ev>
impl<Ev> RefUnwindSafe for BeginBlock<Ev>where
Ev: RefUnwindSafe,
impl<Ev> Send for BeginBlock<Ev>where
Ev: Send,
impl<Ev> Sync for BeginBlock<Ev>where
Ev: Sync,
impl<Ev> Unpin for BeginBlock<Ev>where
Ev: Unpin,
impl<Ev> UnwindSafe for BeginBlock<Ev>where
Ev: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.