pub struct MsgDataToSign<M = String> {
pub chain_id: String,
pub contract_address: String,
pub messages: Vec<M>,
pub nonce: Uint64,
}Fields§
§chain_id: String§contract_address: String§messages: Vec<M>§nonce: Uint64Implementations§
Source§impl<M> MsgDataToSign<M>where
M: DeserializeOwned,
impl<M> MsgDataToSign<M>where
M: DeserializeOwned,
Trait Implementations§
Source§impl<M> Clone for MsgDataToSign<M>where
M: Clone,
impl<M> Clone for MsgDataToSign<M>where
M: Clone,
Source§fn clone(&self) -> MsgDataToSign<M>
fn clone(&self) -> MsgDataToSign<M>
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<M> Debug for MsgDataToSign<M>where
M: Debug,
impl<M> Debug for MsgDataToSign<M>where
M: Debug,
Source§impl<'de, M> Deserialize<'de> for MsgDataToSign<M>where
M: Deserialize<'de>,
impl<'de, M> Deserialize<'de> for MsgDataToSign<M>where
M: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MsgDataToSign<M>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MsgDataToSign<M>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<M> Into<MsgDataToVerify> for &MsgDataToSign<M>
impl<M> Into<MsgDataToVerify> for &MsgDataToSign<M>
Source§fn into(self) -> MsgDataToVerify
fn into(self) -> MsgDataToVerify
Converts this type into the (usually inferred) input type.
Source§impl<M> JsonSchema for MsgDataToSign<M>where
M: JsonSchema,
impl<M> JsonSchema for MsgDataToSign<M>where
M: JsonSchema,
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn 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 moreSource§impl<M> PartialEq for MsgDataToSign<M>where
M: PartialEq,
impl<M> PartialEq for MsgDataToSign<M>where
M: PartialEq,
Source§impl<M> Serialize for MsgDataToSign<M>where
M: Serialize,
impl<M> Serialize for MsgDataToSign<M>where
M: Serialize,
Source§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
impl<M> StructuralPartialEq for MsgDataToSign<M>
Auto Trait Implementations§
impl<M> Freeze for MsgDataToSign<M>
impl<M> RefUnwindSafe for MsgDataToSign<M>where
M: RefUnwindSafe,
impl<M> Send for MsgDataToSign<M>where
M: Send,
impl<M> Sync for MsgDataToSign<M>where
M: Sync,
impl<M> Unpin for MsgDataToSign<M>where
M: Unpin,
impl<M> UnwindSafe for MsgDataToSign<M>where
M: UnwindSafe,
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