pub struct NutlinkAddress {
pub address: String,
pub metadata_url: String,
pub metadata_hash: String,
pub metadata: Option<HashMap<String, Value>>,
}Fields§
§address: StringBech32 encoded address
metadata_url: StringURL of the specific metadata file
metadata_hash: StringHash of the metadata file
metadata: Option<HashMap<String, Value>>The cached metadata of the metadata_url file.
Implementations§
Trait Implementations§
Source§impl Clone for NutlinkAddress
impl Clone for NutlinkAddress
Source§fn clone(&self) -> NutlinkAddress
fn clone(&self) -> NutlinkAddress
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 NutlinkAddress
impl Debug for NutlinkAddress
Source§impl Default for NutlinkAddress
impl Default for NutlinkAddress
Source§fn default() -> NutlinkAddress
fn default() -> NutlinkAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NutlinkAddress
impl<'de> Deserialize<'de> for NutlinkAddress
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 NutlinkAddress
impl PartialEq for NutlinkAddress
Source§impl Serialize for NutlinkAddress
impl Serialize for NutlinkAddress
impl StructuralPartialEq for NutlinkAddress
Auto Trait Implementations§
impl Freeze for NutlinkAddress
impl RefUnwindSafe for NutlinkAddress
impl Send for NutlinkAddress
impl Sync for NutlinkAddress
impl Unpin for NutlinkAddress
impl UnwindSafe for NutlinkAddress
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