pub struct KeySet {
pub id: Id,
pub unit: CurrencyUnit,
pub active: Option<bool>,
pub keys: Keys,
pub input_fee_ppk: u64,
pub final_expiry: Option<u64>,
}Expand description
Keyset
Fields§
§id: IdKeyset Id
unit: CurrencyUnitKeyset CurrencyUnit
active: Option<bool>Keyset state - indicates whether the mint will sign new outputs with this keyset
keys: KeysKeyset Keys
input_fee_ppk: u64Input Fee PPK
final_expiry: Option<u64>Expiry
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 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 UnsafeUnpin 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