pub struct Policy {
pub lists: Vec<PublishedList>,
pub threshold: usize,
pub local: BTreeSet<Key>,
pub negative_unl: BTreeSet<Key>,
}Expand description
The trust policy for a specific ledger.
Fields§
§lists: Vec<PublishedList>§threshold: usize§local: BTreeSet<Key>Keys trusted directly, without a publisher: the [validators] section
of the xrpld config. The list threshold does not apply to them.
negative_unl: BTreeSet<Key>Master keys disabled by the Negative UNL on this ledger.
Implementations§
Trait Implementations§
impl Eq for Policy
impl StructuralPartialEq for Policy
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnsafeUnpin for Policy
impl UnwindSafe for Policy
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