pub struct WriteSetPayload {
pub write_set: Box<WriteSet>,
}Expand description
WriteSetPayload : A writeset payload, used only for genesis
Fields§
§write_set: Box<WriteSet>Implementations§
Source§impl WriteSetPayload
impl WriteSetPayload
Sourcepub fn new(write_set: WriteSet) -> WriteSetPayload
pub fn new(write_set: WriteSet) -> WriteSetPayload
A writeset payload, used only for genesis
Trait Implementations§
Source§impl Clone for WriteSetPayload
impl Clone for WriteSetPayload
Source§fn clone(&self) -> WriteSetPayload
fn clone(&self) -> WriteSetPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WriteSetPayload
impl Debug for WriteSetPayload
Source§impl Default for WriteSetPayload
impl Default for WriteSetPayload
Source§fn default() -> WriteSetPayload
fn default() -> WriteSetPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteSetPayload
impl<'de> Deserialize<'de> for WriteSetPayload
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 WriteSetPayload
impl PartialEq for WriteSetPayload
Source§fn eq(&self, other: &WriteSetPayload) -> bool
fn eq(&self, other: &WriteSetPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WriteSetPayload
impl Serialize for WriteSetPayload
impl StructuralPartialEq for WriteSetPayload
Auto Trait Implementations§
impl Freeze for WriteSetPayload
impl RefUnwindSafe for WriteSetPayload
impl Send for WriteSetPayload
impl Sync for WriteSetPayload
impl Unpin for WriteSetPayload
impl UnsafeUnpin for WriteSetPayload
impl UnwindSafe for WriteSetPayload
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