pub struct RequestMetaData {
pub dest_gas_limit: u64,
pub dest_gas_price: u64,
pub ack_gas_limit: u64,
pub ack_gas_price: u64,
pub relayer_fee: Uint128,
pub ack_type: AckType,
pub is_read_call: bool,
pub asm_address: String,
}Fields§
§dest_gas_limit: u64§dest_gas_price: u64§ack_gas_limit: u64§ack_gas_price: u64§relayer_fee: Uint128§ack_type: AckType§is_read_call: bool§asm_address: StringImplementations§
Source§impl RequestMetaData
impl RequestMetaData
pub fn get_abi_encoded_bytes(&self) -> Bytes
pub fn from_abi_encoded_bytes(bytes: Bytes) -> StdResult<Self>
Trait Implementations§
Source§impl Clone for RequestMetaData
impl Clone for RequestMetaData
Source§fn clone(&self) -> RequestMetaData
fn clone(&self) -> RequestMetaData
Returns a duplicate 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 RequestMetaData
impl Debug for RequestMetaData
Source§impl<'de> Deserialize<'de> for RequestMetaData
impl<'de> Deserialize<'de> for RequestMetaData
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 RequestMetaData
impl JsonSchema for RequestMetaData
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 RequestMetaData
impl PartialEq for RequestMetaData
Source§impl Serialize for RequestMetaData
impl Serialize for RequestMetaData
impl StructuralPartialEq for RequestMetaData
Auto Trait Implementations§
impl Freeze for RequestMetaData
impl RefUnwindSafe for RequestMetaData
impl Send for RequestMetaData
impl Sync for RequestMetaData
impl Unpin for RequestMetaData
impl UnwindSafe for RequestMetaData
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