pub struct Message {
pub type_url: String,
pub value: Vec<u8>,
}Expand description
A transaction message: a type URL plus its protobuf-encoded value bytes.
Fields§
§type_url: StringThe message type URL (e.g. "/cosmos.bank.v1beta1.MsgSend").
value: Vec<u8>The protobuf-encoded message value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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