pub struct ReceivedMessage {
pub root: Cell,
pub init: Option<MsgStateInit>,
pub body: CellSliceParts,
pub is_external: bool,
pub bounce_enabled: bool,
pub balance_remaining: CurrencyCollection,
}Expand description
Parsed inbound message.
Fields§
§root: CellMessage root cell.
init: Option<MsgStateInit>Parsed message StateInit.
body: CellSlicePartsMessage body.
is_external: boolWhether this message is an ExtIn.
bounce_enabled: boolWhether this message can be bounced back on error.
balance_remaining: CurrencyCollectionThe remaining attached value of the received message. NOTE: Always zero for external messages.
Trait Implementations§
Source§impl Clone for ReceivedMessage
impl Clone for ReceivedMessage
Source§fn clone(&self) -> ReceivedMessage
fn clone(&self) -> ReceivedMessage
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ReceivedMessage
impl !RefUnwindSafe for ReceivedMessage
impl !Send for ReceivedMessage
impl !Sync for ReceivedMessage
impl Unpin for ReceivedMessage
impl UnsafeUnpin for ReceivedMessage
impl !UnwindSafe for ReceivedMessage
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