Struct celestia_types::blob::SubmitOptions
source · pub struct SubmitOptions {
pub fee: Option<u64>,
pub gas_limit: Option<u64>,
}Expand description
Options for configuring the blob submission to the network.
If no options are provided, then the default ones will be used.
Read more about the mechanisms of fees and gas usage in submitting data blobs.
Fields§
§fee: Option<u64>A fee for the validator. Transactions will be prioritized based on their fees.
gas_limit: Option<u64>A maximum gas amount that can be used by a validator when trying to include the transaction.
Trait Implementations§
source§impl Clone for SubmitOptions
impl Clone for SubmitOptions
source§fn clone(&self) -> SubmitOptions
fn clone(&self) -> SubmitOptions
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 SubmitOptions
impl Debug for SubmitOptions
source§impl Default for SubmitOptions
impl Default for SubmitOptions
source§fn default() -> SubmitOptions
fn default() -> SubmitOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubmitOptions
impl<'de> Deserialize<'de> for SubmitOptions
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 PartialEq for SubmitOptions
impl PartialEq for SubmitOptions
source§fn eq(&self, other: &SubmitOptions) -> bool
fn eq(&self, other: &SubmitOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SubmitOptions
impl Serialize for SubmitOptions
impl Copy for SubmitOptions
impl Eq for SubmitOptions
impl StructuralEq for SubmitOptions
impl StructuralPartialEq for SubmitOptions
Auto Trait Implementations§
impl RefUnwindSafe for SubmitOptions
impl Send for SubmitOptions
impl Sync for SubmitOptions
impl Unpin for SubmitOptions
impl UnwindSafe for SubmitOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more