pub struct BlockchainMetadata {
pub scope: AssetScope,
pub deprecated: bool,
pub media: Option<Vec<BlockchainMedia>>,
pub explorer: Option<BlockchainExplorer>,
}
Fields§
§scope: AssetScope
§deprecated: bool
Is blockchain deprecated
media: Option<Vec<BlockchainMedia>>
Blockchain’s media
explorer: Option<BlockchainExplorer>
Implementations§
Source§impl BlockchainMetadata
impl BlockchainMetadata
pub fn new(scope: AssetScope, deprecated: bool) -> BlockchainMetadata
Trait Implementations§
Source§impl Clone for BlockchainMetadata
impl Clone for BlockchainMetadata
Source§fn clone(&self) -> BlockchainMetadata
fn clone(&self) -> BlockchainMetadata
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 BlockchainMetadata
impl Debug for BlockchainMetadata
Source§impl Default for BlockchainMetadata
impl Default for BlockchainMetadata
Source§fn default() -> BlockchainMetadata
fn default() -> BlockchainMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockchainMetadata
impl<'de> Deserialize<'de> for BlockchainMetadata
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 BlockchainMetadata
impl PartialEq for BlockchainMetadata
Source§impl Serialize for BlockchainMetadata
impl Serialize for BlockchainMetadata
impl StructuralPartialEq for BlockchainMetadata
Auto Trait Implementations§
impl Freeze for BlockchainMetadata
impl RefUnwindSafe for BlockchainMetadata
impl Send for BlockchainMetadata
impl Sync for BlockchainMetadata
impl Unpin for BlockchainMetadata
impl UnwindSafe for BlockchainMetadata
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