pub struct AggregatorState {
pub version: Option<u32>,
pub configs: Option<Configs>,
pub fulfillment_manager_pubkey: Option<Vec<u8>>,
pub job_definition_pubkeys: Vec<Vec<u8>>,
pub agreement: Option<FulfillmentAgreement>,
pub current_round_result: Option<RoundResult>,
pub last_round_result: Option<RoundResult>,
pub parse_optimized_result_address: Option<Vec<u8>>,
pub bundle_auth_addresses: Vec<Vec<u8>>,
}
Fields§
§version: Option<u32>
§configs: Option<Configs>
§fulfillment_manager_pubkey: Option<Vec<u8>>
§job_definition_pubkeys: Vec<Vec<u8>>
§agreement: Option<FulfillmentAgreement>
§current_round_result: Option<RoundResult>
§last_round_result: Option<RoundResult>
§parse_optimized_result_address: Option<Vec<u8>>
§bundle_auth_addresses: Vec<Vec<u8>>
Trait Implementations§
Source§impl BorshDeserialize for AggregatorStatewhere
Option<u32>: BorshDeserialize,
Option<Configs>: BorshDeserialize,
Option<Vec<u8>>: BorshDeserialize,
Vec<Vec<u8>>: BorshDeserialize,
Option<FulfillmentAgreement>: BorshDeserialize,
Option<RoundResult>: BorshDeserialize,
impl BorshDeserialize for AggregatorStatewhere
Option<u32>: BorshDeserialize,
Option<Configs>: BorshDeserialize,
Option<Vec<u8>>: BorshDeserialize,
Vec<Vec<u8>>: BorshDeserialize,
Option<FulfillmentAgreement>: BorshDeserialize,
Option<RoundResult>: BorshDeserialize,
Source§impl BorshSerialize for AggregatorStatewhere
Option<u32>: BorshSerialize,
Option<Configs>: BorshSerialize,
Option<Vec<u8>>: BorshSerialize,
Vec<Vec<u8>>: BorshSerialize,
Option<FulfillmentAgreement>: BorshSerialize,
Option<RoundResult>: BorshSerialize,
impl BorshSerialize for AggregatorStatewhere
Option<u32>: BorshSerialize,
Option<Configs>: BorshSerialize,
Option<Vec<u8>>: BorshSerialize,
Vec<Vec<u8>>: BorshSerialize,
Option<FulfillmentAgreement>: BorshSerialize,
Option<RoundResult>: BorshSerialize,
Source§impl Clone for AggregatorState
impl Clone for AggregatorState
Source§fn clone(&self) -> AggregatorState
fn clone(&self) -> AggregatorState
Returns a duplicate of the value. Read more
1.0.0 · 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 AggregatorState
impl Debug for AggregatorState
Source§impl Default for AggregatorState
impl Default for AggregatorState
Source§fn default() -> AggregatorState
fn default() -> AggregatorState
Returns the “default value” for a type. Read more
Source§impl<'a> MessageRead<'a> for AggregatorState
impl<'a> MessageRead<'a> for AggregatorState
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for AggregatorState
impl MessageWrite for AggregatorState
Source§impl PartialEq for AggregatorState
impl PartialEq for AggregatorState
impl StructuralPartialEq for AggregatorState
Auto Trait Implementations§
impl Freeze for AggregatorState
impl RefUnwindSafe for AggregatorState
impl Send for AggregatorState
impl Sync for AggregatorState
impl Unpin for AggregatorState
impl UnwindSafe for AggregatorState
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