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
Trait Implementations§
Source§impl Clone for MessageLayout
impl Clone for MessageLayout
Source§fn clone(&self) -> MessageLayout
fn clone(&self) -> MessageLayout
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 moreSource§impl Debug for MessageLayout
impl Debug for MessageLayout
Source§impl<'de> Deserialize<'de> for MessageLayout
impl<'de> Deserialize<'de> for MessageLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageLayout
impl PartialEq for MessageLayout
Source§impl Serialize for MessageLayout
impl Serialize for MessageLayout
impl Copy for MessageLayout
impl Eq for MessageLayout
impl StructuralPartialEq for MessageLayout
Auto Trait Implementations§
impl Freeze for MessageLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.