[−][src]Struct casper_node::types::json_compatibility::AuctionState
Data structure summarizing auction contract data.
Fields
state_root_hash: DigestGlobal state hash
block_height: u64Block height
era_validators: Option<BTreeMap<u64, BTreeMap<PublicKey, U512>>>Era validators
Implementations
impl AuctionState[src]
pub fn new(
state_root_hash: Digest,
block_height: u64,
bids: Option<AuctionBids>,
era_validators: Option<AuctionEraValidators>
) -> Self[src]
state_root_hash: Digest,
block_height: u64,
bids: Option<AuctionBids>,
era_validators: Option<AuctionEraValidators>
) -> Self
Create new instance of AuctionState
Trait Implementations
impl Debug for AuctionState[src]
impl<'de> Deserialize<'de> for AuctionState[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl PartialEq<AuctionState> for AuctionState[src]
fn eq(&self, other: &AuctionState) -> bool[src]
fn ne(&self, other: &AuctionState) -> bool[src]
impl Serialize for AuctionState[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for AuctionState[src]
Auto Trait Implementations
impl RefUnwindSafe for AuctionState
impl Send for AuctionState
impl Sync for AuctionState
impl Unpin for AuctionState
impl UnwindSafe for AuctionState
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> FromBits<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized, [src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,