pub struct RemoteGasDataConfig {
pub remote_domain: u32,
pub token_exchange_rate: Uint128,
pub gas_price: Uint128,
}
Fields§
§remote_domain: u32
§token_exchange_rate: Uint128
§gas_price: Uint128
Trait Implementations§
Source§impl Clone for RemoteGasDataConfig
impl Clone for RemoteGasDataConfig
Source§fn clone(&self) -> RemoteGasDataConfig
fn clone(&self) -> RemoteGasDataConfig
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 RemoteGasDataConfig
impl Debug for RemoteGasDataConfig
Source§impl<'de> Deserialize<'de> for RemoteGasDataConfig
impl<'de> Deserialize<'de> for RemoteGasDataConfig
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 JsonSchema for RemoteGasDataConfig
impl JsonSchema for RemoteGasDataConfig
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 PartialEq for RemoteGasDataConfig
impl PartialEq for RemoteGasDataConfig
Source§impl Serialize for RemoteGasDataConfig
impl Serialize for RemoteGasDataConfig
impl StructuralPartialEq for RemoteGasDataConfig
Auto Trait Implementations§
impl Freeze for RemoteGasDataConfig
impl RefUnwindSafe for RemoteGasDataConfig
impl Send for RemoteGasDataConfig
impl Sync for RemoteGasDataConfig
impl Unpin for RemoteGasDataConfig
impl UnwindSafe for RemoteGasDataConfig
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