pub struct RefreshParams {
pub algorithm: String,
pub num_parties: u32,
pub threshold: u32,
}Expand description
Parameters for a refresh round.
Fields§
§algorithm: StringAlgorithm.
num_parties: u32Number of parties.
threshold: u32Threshold T (refresh preserves threshold).
Trait Implementations§
Source§impl Clone for RefreshParams
impl Clone for RefreshParams
Source§fn clone(&self) -> RefreshParams
fn clone(&self) -> RefreshParams
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 RefreshParams
impl Debug for RefreshParams
Source§impl<'de> Deserialize<'de> for RefreshParams
impl<'de> Deserialize<'de> for RefreshParams
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 RefreshParams
impl RefUnwindSafe for RefreshParams
impl Send for RefreshParams
impl Sync for RefreshParams
impl Unpin for RefreshParams
impl UnsafeUnpin for RefreshParams
impl UnwindSafe for RefreshParams
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