pub struct CreditBondedExecutionControlPolicy {
pub version: String,
pub kill_switch: bool,
pub maximum_autonomy_tier: Option<GovernedAutonomyTier>,
pub minimum_runtime_assurance_tier: Option<RuntimeAssuranceTier>,
pub require_delegated_call_chain: bool,
pub require_locked_reserve: bool,
pub deny_if_bond_not_active: bool,
pub deny_if_outstanding_delinquency: bool,
}Fields§
§version: String§kill_switch: bool§maximum_autonomy_tier: Option<GovernedAutonomyTier>§minimum_runtime_assurance_tier: Option<RuntimeAssuranceTier>§require_delegated_call_chain: bool§require_locked_reserve: bool§deny_if_bond_not_active: bool§deny_if_outstanding_delinquency: boolTrait Implementations§
Source§impl Clone for CreditBondedExecutionControlPolicy
impl Clone for CreditBondedExecutionControlPolicy
Source§fn clone(&self) -> CreditBondedExecutionControlPolicy
fn clone(&self) -> CreditBondedExecutionControlPolicy
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 Default for CreditBondedExecutionControlPolicy
impl Default for CreditBondedExecutionControlPolicy
Source§fn default() -> CreditBondedExecutionControlPolicy
fn default() -> CreditBondedExecutionControlPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreditBondedExecutionControlPolicy
impl<'de> Deserialize<'de> for CreditBondedExecutionControlPolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreditBondedExecutionControlPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreditBondedExecutionControlPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreditBondedExecutionControlPolicy
impl PartialEq for CreditBondedExecutionControlPolicy
Source§fn eq(&self, other: &CreditBondedExecutionControlPolicy) -> bool
fn eq(&self, other: &CreditBondedExecutionControlPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreditBondedExecutionControlPolicy
impl Serialize for CreditBondedExecutionControlPolicy
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
impl Eq for CreditBondedExecutionControlPolicy
impl StructuralPartialEq for CreditBondedExecutionControlPolicy
Auto Trait Implementations§
impl Freeze for CreditBondedExecutionControlPolicy
impl RefUnwindSafe for CreditBondedExecutionControlPolicy
impl Send for CreditBondedExecutionControlPolicy
impl Sync for CreditBondedExecutionControlPolicy
impl Unpin for CreditBondedExecutionControlPolicy
impl UnsafeUnpin for CreditBondedExecutionControlPolicy
impl UnwindSafe for CreditBondedExecutionControlPolicy
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.