pub struct PoolMetadata {
pub pool_id: String,
pub hex: String,
pub url: Option<String>,
pub hash: Option<String>,
pub ticker: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
}Fields§
§pool_id: StringBech32 pool ID
hex: StringHexadecimal pool ID
url: Option<String>URL to the stake pool metadata
hash: Option<String>Hash of the metadata file
ticker: Option<String>Ticker of the stake pool
name: Option<String>Name of the stake pool
description: Option<String>Description of the stake pool
homepage: Option<String>Home page of the stake pool
Implementations§
Trait Implementations§
Source§impl Clone for PoolMetadata
impl Clone for PoolMetadata
Source§fn clone(&self) -> PoolMetadata
fn clone(&self) -> PoolMetadata
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 PoolMetadata
impl Debug for PoolMetadata
Source§impl Default for PoolMetadata
impl Default for PoolMetadata
Source§fn default() -> PoolMetadata
fn default() -> PoolMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PoolMetadata
impl<'de> Deserialize<'de> for PoolMetadata
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 PoolMetadata
impl PartialEq for PoolMetadata
Source§impl Serialize for PoolMetadata
impl Serialize for PoolMetadata
impl StructuralPartialEq for PoolMetadata
Auto Trait Implementations§
impl Freeze for PoolMetadata
impl RefUnwindSafe for PoolMetadata
impl Send for PoolMetadata
impl Sync for PoolMetadata
impl Unpin for PoolMetadata
impl UnwindSafe for PoolMetadata
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