Struct fadroma::prelude::MigrateResponse
source · [−]pub struct MigrateResponse<T = Empty> where
T: Clone + Debug + PartialEq<T> + JsonSchema, {
pub messages: Vec<CosmosMsg<T>, Global>,
pub log: Vec<LogAttribute, Global>,
pub data: Option<Binary>,
}
Fields
messages: Vec<CosmosMsg<T>, Global>
log: Vec<LogAttribute, Global>
data: Option<Binary>
Trait Implementations
sourceimpl<T> Clone for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
impl<T> Clone for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
sourcefn clone(&self) -> MigrateResponse<T>
fn clone(&self) -> MigrateResponse<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T> Debug for MigrateResponse<T> where
T: Debug + Clone + PartialEq<T> + JsonSchema,
impl<T> Debug for MigrateResponse<T> where
T: Debug + Clone + PartialEq<T> + JsonSchema,
sourceimpl<T> Default for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
impl<T> Default for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
sourcefn default() -> MigrateResponse<T>
fn default() -> MigrateResponse<T>
Returns the “default value” for a type. Read more
sourceimpl<'de, T> Deserialize<'de> for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema + Deserialize<'de>,
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<MigrateResponse<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MigrateResponse<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T> From<Context<T>> for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
impl<T> From<Context<T>> for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
sourcefn from(ctx: Context<T>) -> MigrateResponse<T>
fn from(ctx: Context<T>) -> MigrateResponse<T>
Converts to this type from the input type.
sourceimpl<T> JsonSchema for MigrateResponse<T> where
T: JsonSchema + Clone + Debug + PartialEq<T>,
impl<T> JsonSchema for MigrateResponse<T> where
T: JsonSchema + Clone + Debug + PartialEq<T>,
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
sourceimpl<T> PartialEq<MigrateResponse<T>> for MigrateResponse<T> where
T: PartialEq<T> + Clone + Debug + JsonSchema,
impl<T> PartialEq<MigrateResponse<T>> for MigrateResponse<T> where
T: PartialEq<T> + Clone + Debug + JsonSchema,
sourcefn eq(&self, other: &MigrateResponse<T>) -> bool
fn eq(&self, other: &MigrateResponse<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MigrateResponse<T>) -> bool
fn ne(&self, other: &MigrateResponse<T>) -> bool
This method tests for !=
.
sourceimpl<T> Serialize for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema + Serialize,
impl<T> Serialize for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema + Serialize,
sourcefn 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
impl<T> StructuralPartialEq for MigrateResponse<T> where
T: Clone + Debug + PartialEq<T> + JsonSchema,
Auto Trait Implementations
impl<T> RefUnwindSafe for MigrateResponse<T> where
T: RefUnwindSafe,
impl<T> Send for MigrateResponse<T> where
T: Send,
impl<T> Sync for MigrateResponse<T> where
T: Sync,
impl<T> Unpin for MigrateResponse<T> where
T: Unpin,
impl<T> UnwindSafe for MigrateResponse<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more