pub struct GasAuction {
pub start_time_seconds: u64,
pub duration_seconds: u64,
pub start_gas: Dec,
pub current_gas: Option<Dec>,
pub end_gas: Option<Dec>,
}Expand description
One round of a deploy auction. Seconds, not milliseconds.
Fields§
§start_time_seconds: u64§duration_seconds: u64§start_gas: DecHYPE.
current_gas: Option<Dec>What a slot costs now, in HYPE; null once the round has ended.
end_gas: Option<Dec>What the slot sold at, once it sold.
Implementations§
Source§impl GasAuction
impl GasAuction
Trait Implementations§
Source§impl Clone for GasAuction
impl Clone for GasAuction
Source§impl Debug for GasAuction
impl Debug for GasAuction
Source§impl<'de> Deserialize<'de> for GasAuction
impl<'de> Deserialize<'de> for GasAuction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GasAuction
Source§impl PartialEq for GasAuction
impl PartialEq for GasAuction
impl StructuralPartialEq for GasAuction
Auto Trait Implementations§
impl Freeze for GasAuction
impl RefUnwindSafe for GasAuction
impl Send for GasAuction
impl Sync for GasAuction
impl Unpin for GasAuction
impl UnsafeUnpin for GasAuction
impl UnwindSafe for GasAuction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.