pub struct Powers {
pub sign: f64,
pub verify: f64,
}Expand description
How the budget is divided between the two sides, in percent (summing to at most 100).
Fields§
§sign: f64Share of the budget for signing.
verify: f64Share of the budget for verification.
Trait Implementations§
impl Copy for Powers
impl StructuralPartialEq for Powers
Auto Trait Implementations§
impl Freeze for Powers
impl RefUnwindSafe for Powers
impl Send for Powers
impl Sync for Powers
impl Unpin for Powers
impl UnsafeUnpin for Powers
impl UnwindSafe for Powers
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more