pub struct MigratedFromState {
pub contract: ContractInfo,
pub migration_secret: Binary,
}Fields§
§contract: ContractInfothe info of the contract being migrated from
migration_secret: Binarythe secret generated by the contract being migrated from
Trait Implementations§
source§impl Clone for MigratedFromState
impl Clone for MigratedFromState
source§fn clone(&self) -> MigratedFromState
fn clone(&self) -> MigratedFromState
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 MigratedFromState
impl Debug for MigratedFromState
source§impl<'de> Deserialize<'de> for MigratedFromState
impl<'de> Deserialize<'de> for MigratedFromState
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 PartialEq<MigratedFromState> for MigratedFromState
impl PartialEq<MigratedFromState> for MigratedFromState
source§fn eq(&self, other: &MigratedFromState) -> bool
fn eq(&self, other: &MigratedFromState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.