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§fn deserialize(buf: &mut &[u8]) -> Result<AggregatorState, Error>
fn deserialize(buf: &mut &[u8]) -> Result<AggregatorState, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
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 copy 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<AggregatorState, Error>
fn from_reader( r: &mut BytesReader, bytes: &'a [u8], ) -> Result<AggregatorState, Error>
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
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