pub struct MstCertificate {
pub edge_ids: Vec<usize>,
pub total_weight_repr: String,
}Expand description
A compact, checkable MST witness.
Fields§
§edge_ids: Vec<usize>Edge ids claimed to form the minimum spanning tree.
total_weight_repr: StringThe claimed total weight, rendered via Display.
Trait Implementations§
Source§impl Clone for MstCertificate
impl Clone for MstCertificate
Source§fn clone(&self) -> MstCertificate
fn clone(&self) -> MstCertificate
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 MstCertificate
impl Debug for MstCertificate
impl Eq for MstCertificate
Source§impl PartialEq for MstCertificate
impl PartialEq for MstCertificate
impl StructuralPartialEq for MstCertificate
Auto Trait Implementations§
impl Freeze for MstCertificate
impl RefUnwindSafe for MstCertificate
impl Send for MstCertificate
impl Sync for MstCertificate
impl Unpin for MstCertificate
impl UnsafeUnpin for MstCertificate
impl UnwindSafe for MstCertificate
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