pub enum EstimateMode {
NoPriority,
LowPriority,
MediumPriority,
HighPriority,
}
Expand description
The fee estimate mode.
Variants§
NoPriority
No priority, expect the transaction to be committed in 1 hour.
LowPriority
Low priority, expect the transaction to be committed in 30 minutes.
MediumPriority
Medium priority, expect the transaction to be committed in 10 minutes.
HighPriority
High priority, expect the transaction to be committed as soon as possible.
Trait Implementations§
Source§impl Clone for EstimateMode
impl Clone for EstimateMode
Source§fn clone(&self) -> EstimateMode
fn clone(&self) -> EstimateMode
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 EstimateMode
impl Debug for EstimateMode
Source§impl Default for EstimateMode
impl Default for EstimateMode
Source§impl<'de> Deserialize<'de> for EstimateMode
impl<'de> Deserialize<'de> for EstimateMode
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
Source§impl From<EstimateMode> for EstimateMode
impl From<EstimateMode> for EstimateMode
Source§fn from(json: EstimateMode) -> Self
fn from(json: EstimateMode) -> Self
Converts to this type from the input type.
Source§impl From<EstimateMode> for EstimateMode
impl From<EstimateMode> for EstimateMode
Source§fn from(data: EstimateMode) -> Self
fn from(data: EstimateMode) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for EstimateMode
impl JsonSchema for EstimateMode
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Serialize for EstimateMode
impl Serialize for EstimateMode
impl Copy for EstimateMode
Auto Trait Implementations§
impl Freeze for EstimateMode
impl RefUnwindSafe for EstimateMode
impl Send for EstimateMode
impl Sync for EstimateMode
impl Unpin for EstimateMode
impl UnwindSafe for EstimateMode
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