Struct tea_sdk::vmh::registry::GenesisSettings
pub struct GenesisSettings {
pub startup_nodes: Vec<(u64, String)>,
pub tappstore_owner: H160,
pub knowing_cmls: Vec<CmlIntrinsic>,
}
Fields§
§startup_nodes: Vec<(u64, String)>
§tappstore_owner: H160
§knowing_cmls: Vec<CmlIntrinsic>
Trait Implementations§
§impl Clone for GenesisSettings
impl Clone for GenesisSettings
§fn clone(&self) -> GenesisSettings
fn clone(&self) -> GenesisSettings
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 more§impl Debug for GenesisSettings
impl Debug for GenesisSettings
§impl Default for GenesisSettings
impl Default for GenesisSettings
§fn default() -> GenesisSettings
fn default() -> GenesisSettings
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for GenesisSettings
impl<'de> Deserialize<'de> for GenesisSettings
§fn deserialize<__D>(
__deserializer: __D
) -> Result<GenesisSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<GenesisSettings, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for GenesisSettings
impl Serialize for GenesisSettings
§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
Auto Trait Implementations§
impl RefUnwindSafe for GenesisSettings
impl Send for GenesisSettings
impl Sync for GenesisSettings
impl Unpin for GenesisSettings
impl UnwindSafe for GenesisSettings
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