pub struct NodeUpdate {
pub left_child: Option<Key>,
pub left_merk_hash: Option<CryptoHash>,
pub right_child: Option<Key>,
pub right_merk_hash: Option<CryptoHash>,
pub path: Path,
pub key: Key,
pub element: Element,
pub feature_type: TreeFeatureType,
pub value_hash: CryptoHash,
pub kv_digest_hash: CryptoHash,
}
Fields§
§left_child: Option<Key>
§left_merk_hash: Option<CryptoHash>
§right_child: Option<Key>
§right_merk_hash: Option<CryptoHash>
§path: Path
§key: Key
§element: Element
§feature_type: TreeFeatureType
§value_hash: CryptoHash
§kv_digest_hash: CryptoHash
Trait Implementations§
Source§impl Clone for NodeUpdate
impl Clone for NodeUpdate
Source§fn clone(&self) -> NodeUpdate
fn clone(&self) -> NodeUpdate
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 NodeUpdate
impl Debug for NodeUpdate
Source§impl<'de> Deserialize<'de> for NodeUpdate
impl<'de> Deserialize<'de> for NodeUpdate
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 NodeUpdate
impl PartialEq for NodeUpdate
Source§impl Serialize for NodeUpdate
impl Serialize for NodeUpdate
impl Eq for NodeUpdate
impl StructuralPartialEq for NodeUpdate
Auto Trait Implementations§
impl Freeze for NodeUpdate
impl RefUnwindSafe for NodeUpdate
impl Send for NodeUpdate
impl Sync for NodeUpdate
impl Unpin for NodeUpdate
impl UnwindSafe for NodeUpdate
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