pub struct Trust {
pub publishers: Vec<Key>,
pub threshold: usize,
pub trusted_directly: BTreeSet<Key>,
}Expand description
What the verifier trusts.
Fields§
§publishers: Vec<Key>§threshold: usize§trusted_directly: BTreeSet<Key>Trait Implementations§
impl Eq for Trust
impl StructuralPartialEq for Trust
Auto Trait Implementations§
impl Freeze for Trust
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnsafeUnpin for Trust
impl UnwindSafe for Trust
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