Struct switchboard_program::AggregatorState
source · [−]pub struct AggregatorState {
pub version: Option<u32>,
pub configs: Option<Configs>,
pub fulfillment_manager_pubkey: Option<Vec<u8, Global>>,
pub job_definition_pubkeys: Vec<Vec<u8, Global>, Global>,
pub agreement: Option<FulfillmentAgreement>,
pub current_round_result: Option<RoundResult>,
pub last_round_result: Option<RoundResult>,
pub parse_optimized_result_address: Option<Vec<u8, Global>>,
pub bundle_auth_addresses: Vec<Vec<u8, Global>, Global>,
}
Fields
version: Option<u32>
configs: Option<Configs>
fulfillment_manager_pubkey: Option<Vec<u8, Global>>
job_definition_pubkeys: Vec<Vec<u8, Global>, Global>
agreement: Option<FulfillmentAgreement>
current_round_result: Option<RoundResult>
last_round_result: Option<RoundResult>
parse_optimized_result_address: Option<Vec<u8, Global>>
bundle_auth_addresses: Vec<Vec<u8, Global>, Global>
Trait Implementations
impl BorshDeserialize for AggregatorState where
Option<u32>: BorshDeserialize,
Option<Configs>: BorshDeserialize,
Option<Vec<u8, Global>>: BorshDeserialize,
Vec<Vec<u8, Global>, Global>: BorshDeserialize,
Option<FulfillmentAgreement>: BorshDeserialize,
Option<RoundResult>: BorshDeserialize,
impl BorshDeserialize for AggregatorState where
Option<u32>: BorshDeserialize,
Option<Configs>: BorshDeserialize,
Option<Vec<u8, Global>>: BorshDeserialize,
Vec<Vec<u8, Global>, Global>: BorshDeserialize,
Option<FulfillmentAgreement>: BorshDeserialize,
Option<RoundResult>: BorshDeserialize,
impl BorshSerialize for AggregatorState where
Option<u32>: BorshSerialize,
Option<Configs>: BorshSerialize,
Option<Vec<u8, Global>>: BorshSerialize,
Vec<Vec<u8, Global>, Global>: BorshSerialize,
Option<FulfillmentAgreement>: BorshSerialize,
Option<RoundResult>: BorshSerialize,
impl BorshSerialize for AggregatorState where
Option<u32>: BorshSerialize,
Option<Configs>: BorshSerialize,
Option<Vec<u8, Global>>: BorshSerialize,
Vec<Vec<u8, Global>, Global>: BorshSerialize,
Option<FulfillmentAgreement>: BorshSerialize,
Option<RoundResult>: BorshSerialize,
Returns the “default value” for a type. Read more
Constructs an instance of Self
by reading from the given bytes
via the given reader. Read more
Computes necessary binary size of self once serialized in protobuf
pub fn write_message<W>(&self, w: &mut Writer<W>) -> Result<(), Error> where
W: WriterBackend,
pub fn write_message<W>(&self, w: &mut Writer<W>) -> Result<(), Error> where
W: WriterBackend,
Writes Self
into W writer
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
pub default fn example() -> T
Mutably borrows from an owned value. Read more