pub struct PolicySpec {
pub publishers: Vec<String>,
pub threshold: usize,
pub trusted_directly: Vec<String>,
}Fields§
§publishers: Vec<String>Publisher master keys, hex.
threshold: usizeHow many lists must contain a key; 0 means the xrpld default.
trusted_directly: Vec<String>Directly trusted keys, hex.
Trait Implementations§
Source§impl Clone for PolicySpec
impl Clone for PolicySpec
Source§fn clone(&self) -> PolicySpec
fn clone(&self) -> PolicySpec
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 PolicySpec
impl Debug for PolicySpec
Source§impl<'de> Deserialize<'de> for PolicySpec
impl<'de> Deserialize<'de> for PolicySpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PolicySpec
Source§impl PartialEq for PolicySpec
impl PartialEq for PolicySpec
Source§impl Serialize for PolicySpec
impl Serialize for PolicySpec
impl StructuralPartialEq for PolicySpec
Auto Trait Implementations§
impl Freeze for PolicySpec
impl RefUnwindSafe for PolicySpec
impl Send for PolicySpec
impl Sync for PolicySpec
impl Unpin for PolicySpec
impl UnsafeUnpin for PolicySpec
impl UnwindSafe for PolicySpec
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