pub struct ThresholdConfig {
pub m: u8,
pub n: u8,
pub guardian_dids: Vec<String>,
}Expand description
Configuration for an M-of-N threshold scheme.
Fields§
§m: u8§n: u8§guardian_dids: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for ThresholdConfig
impl Clone for ThresholdConfig
Auto Trait Implementations§
impl Forget for ThresholdConfig
impl Freeze for ThresholdConfig
impl RefUnwindSafe for ThresholdConfig
impl Send for ThresholdConfig
impl Sync for ThresholdConfig
impl Unpin for ThresholdConfig
impl UnsafeUnpin for ThresholdConfig
impl UnwindSafe for ThresholdConfig
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