Struct everscale_types::models::message::MessageLayout
source · pub struct MessageLayout {
pub init_to_cell: bool,
pub body_to_cell: bool,
}Expand description
Message payload layout.
Fields§
§init_to_cell: boolWhether to store state init in a child cell.
body_to_cell: boolWhether to store payload as a child cell.
Implementations§
source§impl MessageLayout
impl MessageLayout
sourcepub const fn plain() -> Self
pub const fn plain() -> Self
Returns a plain message layout (init and body stored in the root cell).
Trait Implementations§
source§impl Clone for MessageLayout
impl Clone for MessageLayout
source§fn clone(&self) -> MessageLayout
fn clone(&self) -> MessageLayout
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 Debug for MessageLayout
impl Debug for MessageLayout
source§impl PartialEq<MessageLayout> for MessageLayout
impl PartialEq<MessageLayout> for MessageLayout
source§fn eq(&self, other: &MessageLayout) -> bool
fn eq(&self, other: &MessageLayout) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MessageLayout
impl Eq for MessageLayout
impl StructuralEq for MessageLayout
impl StructuralPartialEq for MessageLayout
Auto Trait Implementations§
impl RefUnwindSafe for MessageLayout
impl Send for MessageLayout
impl Sync for MessageLayout
impl Unpin for MessageLayout
impl UnwindSafe for MessageLayout
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