pub struct VersionManifest {
pub phase: VersionPhase,
pub account: String,
pub parents: BTreeSet<String>,
pub rank: u64,
pub held: BTreeSet<String>,
pub refunded: BTreeSet<String>,
pub credited: BTreeSet<String>,
pub allocation: Resources,
}Expand description
A candidate DAG node. All fields are bound by its semantic identity. Rank is a local well-founded label, never a consensus sequence.
Fields§
§phase: VersionPhase§account: String§parents: BTreeSet<String>§rank: u64§held: BTreeSet<String>§refunded: BTreeSet<String>§credited: BTreeSet<String>§allocation: ResourcesImplementations§
Trait Implementations§
Source§impl Clone for VersionManifest
impl Clone for VersionManifest
Source§impl Debug for VersionManifest
impl Debug for VersionManifest
impl Eq for VersionManifest
Source§impl PartialEq for VersionManifest
impl PartialEq for VersionManifest
impl StructuralPartialEq for VersionManifest
Auto Trait Implementations§
impl Forget for VersionManifest
impl Freeze for VersionManifestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
impl Move for VersionManifest
impl RefUnwindSafe for VersionManifest
impl Send for VersionManifest
impl Sync for VersionManifest
impl Unpin for VersionManifest
impl UnsafeUnpin for VersionManifestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for VersionManifest
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