pub struct BlockchainResponse {
pub id: String,
pub legacy_id: String,
pub display_name: String,
pub native_asset_id: String,
pub onchain: BlockchainOnchain,
pub metadata: BlockchainMetadata,
}
Fields§
§id: String
The ID of the blockchain
legacy_id: String
The old blockchain ID representation of the blockchain
display_name: String
The name of the blockchain
native_asset_id: String
Native asset ID of this blockchain
onchain: BlockchainOnchain
§metadata: BlockchainMetadata
Implementations§
Source§impl BlockchainResponse
impl BlockchainResponse
pub fn new( id: String, legacy_id: String, display_name: String, native_asset_id: String, onchain: BlockchainOnchain, metadata: BlockchainMetadata, ) -> BlockchainResponse
Trait Implementations§
Source§impl Clone for BlockchainResponse
impl Clone for BlockchainResponse
Source§fn clone(&self) -> BlockchainResponse
fn clone(&self) -> BlockchainResponse
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 BlockchainResponse
impl Debug for BlockchainResponse
Source§impl Default for BlockchainResponse
impl Default for BlockchainResponse
Source§fn default() -> BlockchainResponse
fn default() -> BlockchainResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockchainResponse
impl<'de> Deserialize<'de> for BlockchainResponse
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 BlockchainResponse
impl PartialEq for BlockchainResponse
Source§impl Serialize for BlockchainResponse
impl Serialize for BlockchainResponse
impl StructuralPartialEq for BlockchainResponse
Auto Trait Implementations§
impl Freeze for BlockchainResponse
impl RefUnwindSafe for BlockchainResponse
impl Send for BlockchainResponse
impl Sync for BlockchainResponse
impl Unpin for BlockchainResponse
impl UnwindSafe for BlockchainResponse
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