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