pub struct Shares {
pub threshold: u8,
pub total: u8,
pub shares: &'static [Share],
}Expand description
Secret sharing scheme configuration (e.g., Shamir, SLIP-39).
Fields§
§threshold: u8Number of shares required to reconstruct the secret
total: u8Total number of shares generated
Published shares
Trait Implementations§
Auto Trait Implementations§
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