pub struct MintKeySetInfo {
pub id: Id,
pub unit: CurrencyUnit,
pub active: bool,
pub valid_from: u64,
pub valid_to: Option<u64>,
pub derivation_path: DerivationPath,
pub derivation_path_index: Option<u32>,
pub max_order: u8,
pub input_fee_ppk: u64,
}
Expand description
Mint Keyset Info
Fields§
§id: Id
Keyset Id
unit: CurrencyUnit
Keyset CurrencyUnit
active: bool
Keyset active or inactive Mint will only issue new signatures on active keysets
valid_from: u64
Starting unix time Keyset is valid from
valid_to: Option<u64>
When the Keyset is valid to This is not shown to the wallet and can only be used internally
derivation_path: DerivationPath
DerivationPath
keyset
derivation_path_index: Option<u32>
DerivationPath index of Keyset
max_order: u8
Max order of keyset
input_fee_ppk: u64
Input Fee ppk
Trait Implementations§
Source§impl Clone for MintKeySetInfo
impl Clone for MintKeySetInfo
Source§fn clone(&self) -> MintKeySetInfo
fn clone(&self) -> MintKeySetInfo
Returns a duplicate 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 MintKeySetInfo
impl Debug for MintKeySetInfo
Source§impl<'de> Deserialize<'de> for MintKeySetInfo
impl<'de> Deserialize<'de> for MintKeySetInfo
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 From<MintKeySetInfo> for KeySetInfo
impl From<MintKeySetInfo> for KeySetInfo
Source§fn from(keyset_info: MintKeySetInfo) -> Self
fn from(keyset_info: MintKeySetInfo) -> Self
Converts to this type from the input type.
Source§impl Hash for MintKeySetInfo
impl Hash for MintKeySetInfo
Source§impl PartialEq for MintKeySetInfo
impl PartialEq for MintKeySetInfo
Source§impl Serialize for MintKeySetInfo
impl Serialize for MintKeySetInfo
impl Eq for MintKeySetInfo
impl StructuralPartialEq for MintKeySetInfo
Auto Trait Implementations§
impl Freeze for MintKeySetInfo
impl RefUnwindSafe for MintKeySetInfo
impl Send for MintKeySetInfo
impl Sync for MintKeySetInfo
impl Unpin for MintKeySetInfo
impl UnwindSafe for MintKeySetInfo
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