#[repr(i32)]pub enum RequestFeeStatus {
REQUEST_FEE_STATUS_UNSPECIFIED = 0,
REQUEST_FEE_STATUS_LOCKED = 1,
REQUEST_FEE_STATUS_SETTLED = 2,
}Expand description
RequestFeeStatus identifies the current lifecycle state of a request-scoped on-chain fee snapshot.
Variants§
REQUEST_FEE_STATUS_UNSPECIFIED = 0
REQUEST_FEE_STATUS_LOCKED = 1
The request locked a fee snapshot at creation time.
REQUEST_FEE_STATUS_SETTLED = 2
The request completed far enough for the locked fee to settle.
Implementations§
Source§impl RequestFeeStatus
impl RequestFeeStatus
Sourcepub const Unspecified: Self = Self::REQUEST_FEE_STATUS_UNSPECIFIED
pub const Unspecified: Self = Self::REQUEST_FEE_STATUS_UNSPECIFIED
Idiomatic alias for Self::REQUEST_FEE_STATUS_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Locked: Self = Self::REQUEST_FEE_STATUS_LOCKED
pub const Locked: Self = Self::REQUEST_FEE_STATUS_LOCKED
Idiomatic alias for Self::REQUEST_FEE_STATUS_LOCKED; Debug prints the variant name.
Sourcepub const Settled: Self = Self::REQUEST_FEE_STATUS_SETTLED
pub const Settled: Self = Self::REQUEST_FEE_STATUS_SETTLED
Idiomatic alias for Self::REQUEST_FEE_STATUS_SETTLED; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for RequestFeeStatus
impl Clone for RequestFeeStatus
Source§fn clone(&self) -> RequestFeeStatus
fn clone(&self) -> RequestFeeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestFeeStatus
Source§impl Debug for RequestFeeStatus
impl Debug for RequestFeeStatus
Source§impl Default for RequestFeeStatus
impl Default for RequestFeeStatus
Source§impl<'de> Deserialize<'de> for RequestFeeStatus
impl<'de> Deserialize<'de> for RequestFeeStatus
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for RequestFeeStatus
impl Enumeration for RequestFeeStatus
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for RequestFeeStatus
Source§impl Hash for RequestFeeStatus
impl Hash for RequestFeeStatus
Source§impl PartialEq for RequestFeeStatus
impl PartialEq for RequestFeeStatus
Source§impl ProtoElemJson for RequestFeeStatus
impl ProtoElemJson for RequestFeeStatus
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for RequestFeeStatus
impl Serialize for RequestFeeStatus
impl StructuralPartialEq for RequestFeeStatus
Auto Trait Implementations§
impl Freeze for RequestFeeStatus
impl RefUnwindSafe for RequestFeeStatus
impl Send for RequestFeeStatus
impl Sync for RequestFeeStatus
impl Unpin for RequestFeeStatus
impl UnsafeUnpin for RequestFeeStatus
impl UnwindSafe for RequestFeeStatus
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§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.