Struct switchboard_program::AggregatorState [−][src]
pub struct AggregatorState { pub version: u32, pub configs: Option<Configs>, pub fulfillment_manager_pubkey: 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>, }
Fields
version: u32
configs: Option<Configs>
fulfillment_manager_pubkey: Vec<u8, Global>
job_definition_pubkeys: Vec<Vec<u8, Global>, Global>
agreement: Option<FulfillmentAgreement>
current_round_result: Option<RoundResult>
last_round_result: Option<RoundResult>
Trait Implementations
impl Clone for AggregatorState
[src]
impl Clone for AggregatorState
[src]pub fn clone(&self) -> AggregatorState
[src]
pub fn clone(&self) -> AggregatorState
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AggregatorState
[src]
impl Debug for AggregatorState
[src]impl Default for AggregatorState
[src]
impl Default for AggregatorState
[src]pub fn default() -> AggregatorState
[src]
pub fn default() -> AggregatorState
[src]Returns the “default value” for a type. Read more
impl<'a> MessageRead<'a> for AggregatorState
[src]
impl<'a> MessageRead<'a> for AggregatorState
[src]pub fn from_reader(
r: &mut BytesReader,
bytes: &'a [u8]
) -> Result<AggregatorState, Error>
[src]
pub fn from_reader(
r: &mut BytesReader,
bytes: &'a [u8]
) -> Result<AggregatorState, Error>
[src]Constructs an instance of Self
by reading from the given bytes
via the given reader. Read more
impl MessageWrite for AggregatorState
[src]
impl MessageWrite for AggregatorState
[src]pub fn get_size(&self) -> usize
[src]
pub fn get_size(&self) -> usize
[src]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,
[src]
pub fn write_message<W>(&self, w: &mut Writer<W>) -> Result<(), Error> where
W: WriterBackend,
[src]Writes Self
into W writer
impl PartialEq<AggregatorState> for AggregatorState
[src]
impl PartialEq<AggregatorState> for AggregatorState
[src]pub fn eq(&self, other: &AggregatorState) -> bool
[src]
pub fn eq(&self, other: &AggregatorState) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &AggregatorState) -> bool
[src]
pub fn ne(&self, other: &AggregatorState) -> bool
[src]This method tests for !=
.
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> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,