pub struct WriteTableItem {
pub state_key_hash: String,
pub handle: String,
pub key: String,
pub value: String,
pub data: Option<Box<DecodedTableData>>,
}Expand description
WriteTableItem : Change set to write a table item
Fields§
§state_key_hash: String§handle: StringAll bytes (Vec0x and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedBytes will not trim any zeros.
key: StringAll bytes (Vec0x and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedBytes will not trim any zeros.
value: StringAll bytes (Vec0x and fulfilled with two hex digits per byte. Unlike the Address type, HexEncodedBytes will not trim any zeros.
data: Option<Box<DecodedTableData>>Implementations§
Trait Implementations§
Source§impl Clone for WriteTableItem
impl Clone for WriteTableItem
Source§fn clone(&self) -> WriteTableItem
fn clone(&self) -> WriteTableItem
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 WriteTableItem
impl Debug for WriteTableItem
Source§impl Default for WriteTableItem
impl Default for WriteTableItem
Source§fn default() -> WriteTableItem
fn default() -> WriteTableItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteTableItem
impl<'de> Deserialize<'de> for WriteTableItem
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 WriteTableItem
impl PartialEq for WriteTableItem
Source§fn eq(&self, other: &WriteTableItem) -> bool
fn eq(&self, other: &WriteTableItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WriteTableItem
impl Serialize for WriteTableItem
impl StructuralPartialEq for WriteTableItem
Auto Trait Implementations§
impl Freeze for WriteTableItem
impl RefUnwindSafe for WriteTableItem
impl Send for WriteTableItem
impl Sync for WriteTableItem
impl Unpin for WriteTableItem
impl UnsafeUnpin for WriteTableItem
impl UnwindSafe for WriteTableItem
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