pub enum EffectClass {
Read,
Write,
Process,
Network,
ApprovalDispatch,
OutputDelivery,
}Expand description
Enumerates the finite effect class cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Read
Use this variant when the contract needs to represent read; selecting it has no side effect by itself.
Write
Use this variant when the contract needs to represent write; selecting it has no side effect by itself.
Process
Use this variant when the contract needs to represent process; selecting it has no side effect by itself.
Network
Use this variant when the contract needs to represent network; selecting it has no side effect by itself.
ApprovalDispatch
Use this variant when the contract needs to represent approval dispatch; selecting it has no side effect by itself.
OutputDelivery
Use this variant when the contract needs to represent output delivery; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for EffectClass
impl Clone for EffectClass
Source§fn clone(&self) -> EffectClass
fn clone(&self) -> EffectClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EffectClass
impl Debug for EffectClass
Source§impl<'de> Deserialize<'de> for EffectClass
impl<'de> Deserialize<'de> for EffectClass
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>,
Source§impl PartialEq for EffectClass
impl PartialEq for EffectClass
Source§fn eq(&self, other: &EffectClass) -> bool
fn eq(&self, other: &EffectClass) -> bool
self and other values to be equal, and is used by ==.