pub struct KeyEscrowPolicy {
pub enabled: bool,
pub trustees: Vec<String>,
pub threshold: u32,
pub escrow_duration: Duration,
}Fieldsยง
ยงenabled: boolยงtrustees: Vec<String>ยงthreshold: u32ยงescrow_duration: DurationTrait Implementationsยง
Sourceยงimpl Clone for KeyEscrowPolicy
impl Clone for KeyEscrowPolicy
Sourceยงfn clone(&self) -> KeyEscrowPolicy
fn clone(&self) -> KeyEscrowPolicy
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 KeyEscrowPolicy
impl Debug for KeyEscrowPolicy
Sourceยงimpl<'de> Deserialize<'de> for KeyEscrowPolicy
impl<'de> Deserialize<'de> for KeyEscrowPolicy
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
Auto Trait Implementationsยง
impl Freeze for KeyEscrowPolicy
impl RefUnwindSafe for KeyEscrowPolicy
impl Send for KeyEscrowPolicy
impl Sync for KeyEscrowPolicy
impl Unpin for KeyEscrowPolicy
impl UnsafeUnpin for KeyEscrowPolicy
impl UnwindSafe for KeyEscrowPolicy
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