pub struct Share {
pub index: u32,
pub value: BigUint,
}
Expand description
A single share of a split secret, representing a point on the polynomial
Fields§
§index: u32
The x-coordinate of the polynomial point (share index)
value: BigUint
The y-coordinate of the polynomial point (share value)
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