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 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 EstimateMode
Source§impl Debug for EstimateMode
impl Debug for EstimateMode
Source§impl Default for EstimateMode
impl Default for EstimateMode
Source§fn default() -> EstimateMode
fn default() -> EstimateMode
Returns the “default value” for a type. Read more
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_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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EstimateMode
impl RefUnwindSafe for EstimateMode
impl Send for EstimateMode
impl Sync for EstimateMode
impl Unpin for EstimateMode
impl UnsafeUnpin 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