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