[−][src]Struct stdtx::msg::Msg
Implementations
impl Msg
[src]
pub fn from_json_value(
schema: &Schema,
json_value: Value
) -> Result<Self, Error>
[src]
schema: &Schema,
json_value: Value
) -> Result<Self, Error>
Parse a Msg
from a serde_json::Value
following the provided
Schema
for field definitions.
pub fn type_name(&self) -> &TypeName
[src]
Get the type name for this Msg
pub fn fields(&self) -> &[Field]
[src]
pub fn to_json_value(&self, schema: &Schema) -> Value
[src]
Compute serde_json::Value
representing a sdk.Msg
pub fn to_amino_bytes(&self) -> Vec<u8>
[src]
Encode this message in the Amino wire format
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnwindSafe for Msg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,