Struct linera_execution::system::OpenChainConfig  
source · pub struct OpenChainConfig {
    pub ownership: ChainOwnership,
    pub admin_id: ChainId,
    pub epoch: Epoch,
    pub committees: BTreeMap<Epoch, Committee>,
    pub balance: Amount,
    pub application_permissions: ApplicationPermissions,
}Expand description
The configuration for a new chain.
Fields§
§ownership: ChainOwnership§admin_id: ChainId§epoch: Epoch§committees: BTreeMap<Epoch, Committee>§balance: Amount§application_permissions: ApplicationPermissionsTrait Implementations§
source§impl Clone for OpenChainConfig
 
impl Clone for OpenChainConfig
source§fn clone(&self) -> OpenChainConfig
 
fn clone(&self) -> OpenChainConfig
Returns a copy 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 OpenChainConfig
 
impl Debug for OpenChainConfig
source§impl<'de> Deserialize<'de> for OpenChainConfig
 
impl<'de> Deserialize<'de> for OpenChainConfig
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 Hash for OpenChainConfig
 
impl Hash for OpenChainConfig
source§impl PartialEq for OpenChainConfig
 
impl PartialEq for OpenChainConfig
source§fn eq(&self, other: &OpenChainConfig) -> bool
 
fn eq(&self, other: &OpenChainConfig) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for OpenChainConfig
 
impl Serialize for OpenChainConfig
impl Eq for OpenChainConfig
impl StructuralPartialEq for OpenChainConfig
Auto Trait Implementations§
impl Freeze for OpenChainConfig
impl RefUnwindSafe for OpenChainConfig
impl Send for OpenChainConfig
impl Sync for OpenChainConfig
impl Unpin for OpenChainConfig
impl UnwindSafe for OpenChainConfig
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<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.