pub struct PartitionAnchor {
pub source: String,
pub major_block_index: u64,
pub minor_block_index: u64,
pub root_chain_index: u64,
pub root_chain_anchor: [u8; 32],
pub state_tree_anchor: [u8; 32],
}Fields§
§source: String§major_block_index: u64§minor_block_index: u64§root_chain_index: u64§root_chain_anchor: [u8; 32]§state_tree_anchor: [u8; 32]Trait Implementations§
Source§impl Clone for PartitionAnchor
impl Clone for PartitionAnchor
Source§fn clone(&self) -> PartitionAnchor
fn clone(&self) -> PartitionAnchor
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 PartitionAnchor
impl Debug for PartitionAnchor
Source§impl<'de> Deserialize<'de> for PartitionAnchor
impl<'de> Deserialize<'de> for PartitionAnchor
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 PartitionAnchor
impl PartialEq for PartitionAnchor
Source§impl Serialize for PartitionAnchor
impl Serialize for PartitionAnchor
impl StructuralPartialEq for PartitionAnchor
Auto Trait Implementations§
impl Freeze for PartitionAnchor
impl RefUnwindSafe for PartitionAnchor
impl Send for PartitionAnchor
impl Sync for PartitionAnchor
impl Unpin for PartitionAnchor
impl UnsafeUnpin for PartitionAnchor
impl UnwindSafe for PartitionAnchor
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