Struct switchboard_protos::protos::aggregator_state::AggregatorState [−][src]
pub struct AggregatorState { pub version: u32, pub min_confirmations: i32, pub min_update_delay_seconds: i64, pub fulfillment_manager_pubkey: Vec<u8>, pub job_definition_pubkeys: Vec<Vec<u8>>, pub locked: bool, pub agreement: Option<FulfillmentAgreement>, pub current_round_result: Option<RoundResult>, pub last_round_result: Option<RoundResult>, }
Fields
version: u32
min_confirmations: i32
min_update_delay_seconds: i64
fulfillment_manager_pubkey: Vec<u8>
job_definition_pubkeys: Vec<Vec<u8>>
locked: bool
agreement: Option<FulfillmentAgreement>
current_round_result: Option<RoundResult>
last_round_result: Option<RoundResult>
Trait Implementations
impl Clone for AggregatorState
[src]
fn clone(&self) -> AggregatorState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AggregatorState
[src]
impl Default for AggregatorState
[src]
fn default() -> AggregatorState
[src]
impl<'a> MessageRead<'a> for AggregatorState
[src]
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
[src]
impl MessageWrite for AggregatorState
[src]
fn get_size(&self) -> usize
[src]
fn write_message<W: WriterBackend>(&self, w: &mut Writer<W>) -> Result<()>
[src]
pub fn write_file<P>(&self, p: P) -> Result<(), Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
impl PartialEq<AggregatorState> for AggregatorState
[src]
fn eq(&self, other: &AggregatorState) -> bool
[src]
fn ne(&self, other: &AggregatorState) -> bool
[src]
impl StructuralPartialEq for AggregatorState
[src]
Auto Trait Implementations
impl RefUnwindSafe for AggregatorState
impl Send for AggregatorState
impl Sync for AggregatorState
impl Unpin for AggregatorState
impl UnwindSafe for AggregatorState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,