pub struct PolicyUsed {
pub lists: Vec<ListUsed>,
pub unl_size: usize,
pub quorum: usize,
pub confirmed_hash: Option<String>,
}Expand description
One of the possible policies and its result.
Fields§
§lists: Vec<ListUsed>§unl_size: usize§quorum: usize§confirmed_hash: Option<String>Trait Implementations§
Source§impl Clone for PolicyUsed
impl Clone for PolicyUsed
Source§fn clone(&self) -> PolicyUsed
fn clone(&self) -> PolicyUsed
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 PolicyUsed
impl Debug for PolicyUsed
Source§impl PartialEq for PolicyUsed
impl PartialEq for PolicyUsed
Source§impl Serialize for PolicyUsed
impl Serialize for PolicyUsed
impl StructuralPartialEq for PolicyUsed
Auto Trait Implementations§
impl Freeze for PolicyUsed
impl RefUnwindSafe for PolicyUsed
impl Send for PolicyUsed
impl Sync for PolicyUsed
impl Unpin for PolicyUsed
impl UnsafeUnpin for PolicyUsed
impl UnwindSafe for PolicyUsed
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