pub struct EvmAddressResponse {
pub evm_address: String,
pub associated: bool,
}
Expand description
EvmAddressResponse
is a struct that represents a response containing an EVM address.
Fields§
§evm_address: String
The 20-byte EVM address associated to Sei address that’s derived from the public part of a public-private key pair. It’s represented as a hex string. Address is empty if the Sei native (bech32-encoded ‘sei*’) address is not associated with any EVM address.
associated: bool
A boolean value indicating whether the EVM address is associated.
Trait Implementations§
Source§impl Clone for EvmAddressResponse
impl Clone for EvmAddressResponse
Source§fn clone(&self) -> EvmAddressResponse
fn clone(&self) -> EvmAddressResponse
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 EvmAddressResponse
impl Debug for EvmAddressResponse
Source§impl<'de> Deserialize<'de> for EvmAddressResponse
impl<'de> Deserialize<'de> for EvmAddressResponse
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 EvmAddressResponse
impl JsonSchema for EvmAddressResponse
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 EvmAddressResponse
impl PartialEq for EvmAddressResponse
Source§impl Serialize for EvmAddressResponse
impl Serialize for EvmAddressResponse
impl StructuralPartialEq for EvmAddressResponse
Auto Trait Implementations§
impl Freeze for EvmAddressResponse
impl RefUnwindSafe for EvmAddressResponse
impl Send for EvmAddressResponse
impl Sync for EvmAddressResponse
impl Unpin for EvmAddressResponse
impl UnwindSafe for EvmAddressResponse
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