pub struct TokenV4 {
pub mint_url: MintUrl,
pub unit: CurrencyUnit,
pub memo: Option<String>,
pub token: Vec<TokenV4Token>,
}
Expand description
Token V4
Fields§
§mint_url: MintUrl
Mint Url
unit: CurrencyUnit
Token Unit
memo: Option<String>
Memo for token
token: Vec<TokenV4Token>
Proofs grouped by keyset_id
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TokenV4
impl<'de> Deserialize<'de> for TokenV4
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TokenV4, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TokenV4, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TokenV4
impl Serialize for TokenV4
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TokenV4
impl StructuralPartialEq for TokenV4
Auto Trait Implementations§
impl Freeze for TokenV4
impl RefUnwindSafe for TokenV4
impl Send for TokenV4
impl Sync for TokenV4
impl Unpin for TokenV4
impl UnwindSafe for TokenV4
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