Struct tea_sdk::vmh::env::HostSettings
pub struct HostSettings {
pub tea_id: Vec<u8>,
pub conn_id: String,
pub env_settings: EnvSettings,
pub manifest: Vec<u8>,
pub state_magic_number: u64,
pub loaded_clients: Vec<RegistryKey>,
pub encryted_key: Option<Vec<u8>>,
pub init_layer1_key: Option<Vec<u8>>,
pub actor_download_path: String,
pub ipfs_url_base: String,
}
Fields§
§tea_id: Vec<u8>
§conn_id: String
§env_settings: EnvSettings
§manifest: Vec<u8>
§state_magic_number: u64
§loaded_clients: Vec<RegistryKey>
§encryted_key: Option<Vec<u8>>
§init_layer1_key: Option<Vec<u8>>
§actor_download_path: String
§ipfs_url_base: String
Trait Implementations§
§impl Clone for HostSettings
impl Clone for HostSettings
§fn clone(&self) -> HostSettings
fn clone(&self) -> HostSettings
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 HostSettings
impl Debug for HostSettings
§impl Default for HostSettings
impl Default for HostSettings
§fn default() -> HostSettings
fn default() -> HostSettings
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for HostSettings
impl<'de> Deserialize<'de> for HostSettings
§fn deserialize<__D>(
__deserializer: __D
) -> Result<HostSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<HostSettings, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for HostSettings
impl Serialize for HostSettings
§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 HostSettings
impl Send for HostSettings
impl Sync for HostSettings
impl Unpin for HostSettings
impl UnwindSafe for HostSettings
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