pub struct PolicySet {
pub policies: Vec<Policy>,
pub missing: Vec<Key>,
}Expand description
The policies that could have been in effect, and the publishers that have no list in effect for that time.
Fields§
§policies: Vec<Policy>§missing: Vec<Key>Configured publishers without a list in effect. If this is not empty the policy is incomplete and nothing can be confirmed: without a publisher’s list the UNL is smaller, and the quorum would be computed from a smaller number.
Trait Implementations§
impl Eq for PolicySet
impl StructuralPartialEq for PolicySet
Auto Trait Implementations§
impl Freeze for PolicySet
impl RefUnwindSafe for PolicySet
impl Send for PolicySet
impl Sync for PolicySet
impl Unpin for PolicySet
impl UnsafeUnpin for PolicySet
impl UnwindSafe for PolicySet
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