pub struct MessageAPI {
pub version: u64,
pub from: Address,
pub to: Address,
pub sequence: u64,
pub value: TokenAmount,
pub method_num: MethodNum,
pub params: RawBytes,
pub gas_limit: u64,
pub gas_fee_cap: TokenAmount,
pub gas_premium: TokenAmount,
}Fields§
§version: u64§from: Address§to: Address§sequence: u64§value: TokenAmount§method_num: MethodNum§params: RawBytes§gas_limit: u64§gas_fee_cap: TokenAmountImplementations§
Source§impl MessageAPI
impl MessageAPI
Source§impl<'de> MessageAPI
impl<'de> MessageAPI
pub fn deserialize<__D>(__deserializer: __D) -> Result<Message, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for MessageAPI
impl RefUnwindSafe for MessageAPI
impl Send for MessageAPI
impl Sync for MessageAPI
impl Unpin for MessageAPI
impl UnwindSafe for MessageAPI
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more