pub struct KeySet {
pub id: Id,
pub unit: CurrencyUnit,
pub keys: Keys,
}
Expand description
Keyset
Fields§
§id: Id
Keyset Id
unit: CurrencyUnit
Keyset CurrencyUnit
keys: Keys
Keyset Keys
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeySet
impl<'de> Deserialize<'de> for KeySet
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<KeySet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<KeySet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MintKeySet> for KeySet
impl From<MintKeySet> for KeySet
Source§fn from(keyset: MintKeySet) -> KeySet
fn from(keyset: MintKeySet) -> KeySet
Converts to this type from the input type.
Source§impl Serialize for KeySet
impl Serialize for KeySet
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 KeySet
impl StructuralPartialEq for KeySet
Auto Trait Implementations§
impl Freeze for KeySet
impl RefUnwindSafe for KeySet
impl Send for KeySet
impl Sync for KeySet
impl Unpin for KeySet
impl UnwindSafe for KeySet
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