pub struct SigningContext {
pub vote_count: usize,
pub oracle_value: Option<f64>,
}Fields§
§vote_count: usize§oracle_value: Option<f64>Trait Implementations§
Source§impl Clone for SigningContext
impl Clone for SigningContext
Source§fn clone(&self) -> SigningContext
fn clone(&self) -> SigningContext
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 SigningContext
impl Debug for SigningContext
Source§impl Default for SigningContext
impl Default for SigningContext
Source§fn default() -> SigningContext
fn default() -> SigningContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SigningContext
impl RefUnwindSafe for SigningContext
impl Send for SigningContext
impl Sync for SigningContext
impl Unpin for SigningContext
impl UnsafeUnpin for SigningContext
impl UnwindSafe for SigningContext
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