pub struct SpecialFlags {
pub tick: bool,
pub tock: bool,
}Expand description
Special transactions execution flags.
Fields§
§tick: boolAccount will be called at the beginning of each block.
tock: boolAccount will be called at the end of each block.
Implementations§
Trait Implementations§
Source§impl Clone for SpecialFlags
impl Clone for SpecialFlags
Source§fn clone(&self) -> SpecialFlags
fn clone(&self) -> SpecialFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpecialFlags
Source§impl Debug for SpecialFlags
impl Debug for SpecialFlags
Source§impl Default for SpecialFlags
impl Default for SpecialFlags
Source§fn default() -> SpecialFlags
fn default() -> SpecialFlags
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpecialFlags
impl<'de> Deserialize<'de> for SpecialFlags
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
impl Eq for SpecialFlags
Source§impl<'a> Load<'a> for SpecialFlags
impl<'a> Load<'a> for SpecialFlags
Source§impl PartialEq for SpecialFlags
impl PartialEq for SpecialFlags
Source§fn eq(&self, other: &SpecialFlags) -> bool
fn eq(&self, other: &SpecialFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpecialFlags
impl Serialize for SpecialFlags
Source§impl Store for SpecialFlags
impl Store for SpecialFlags
Source§fn store_into(
&self,
builder: &mut CellBuilder,
_: &mut dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, _: &mut dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl StructuralPartialEq for SpecialFlags
Auto Trait Implementations§
impl Freeze for SpecialFlags
impl RefUnwindSafe for SpecialFlags
impl Send for SpecialFlags
impl Sync for SpecialFlags
impl Unpin for SpecialFlags
impl UnsafeUnpin for SpecialFlags
impl UnwindSafe for SpecialFlags
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compares
self to key and returns true if they are equal.