pub struct InitParams {
pub secret_shares: u32,
pub secret_threshold: u32,
pub pgp_keys: Option<Vec<String>>,
pub root_token_pgp_key: Option<String>,
pub recovery_shares: Option<u32>,
pub recovery_threshold: Option<u32>,
}Fields§
§secret_threshold: u32§pgp_keys: Option<Vec<String>>§root_token_pgp_key: Option<String>§recovery_threshold: Option<u32>Trait Implementations§
Source§impl Clone for InitParams
impl Clone for InitParams
Source§fn clone(&self) -> InitParams
fn clone(&self) -> InitParams
Returns a duplicate of the value. Read more
1.0.0 · 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 InitParams
impl Debug for InitParams
Auto Trait Implementations§
impl Freeze for InitParams
impl RefUnwindSafe for InitParams
impl Send for InitParams
impl Sync for InitParams
impl Unpin for InitParams
impl UnsafeUnpin for InitParams
impl UnwindSafe for InitParams
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