pub struct MintKeySetInfo {
pub id: Id,
pub unit: CurrencyUnit,
pub active: bool,
pub valid_from: u64,
pub derivation_path: DerivationPath,
pub derivation_path_index: Option<u32>,
pub amounts: Vec<u64>,
pub input_fee_ppk: u64,
pub final_expiry: Option<u64>,
pub issuer_version: Option<IssuerVersion>,
}Expand description
Mint Keyset Info
Fields§
§id: IdKeyset Id
unit: CurrencyUnitKeyset CurrencyUnit
active: boolKeyset active or inactive Mint will only issue new signatures on active keysets
valid_from: u64Starting unix time Keyset is valid from
derivation_path: DerivationPathDerivationPath keyset
derivation_path_index: Option<u32>DerivationPath index of Keyset
amounts: Vec<u64>Supported amounts
input_fee_ppk: u64Input Fee ppk
final_expiry: Option<u64>Final expiry
issuer_version: Option<IssuerVersion>Issuer Version
Implementations§
Source§impl MintKeySetInfo
impl MintKeySetInfo
Sourcepub fn is_expired(&self) -> bool
pub fn is_expired(&self) -> bool
Returns true if final_expiry is set and strictly in the past.
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 (const: unstable) · 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<MintKeySetInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MintKeySetInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MintKeySetInfo
Source§impl From<&SignatoryKeySet> for MintKeySetInfo
impl From<&SignatoryKeySet> for MintKeySetInfo
Source§fn from(val: &SignatoryKeySet) -> MintKeySetInfo
fn from(val: &SignatoryKeySet) -> MintKeySetInfo
Converts to this type from the input type.
Source§impl From<SignatoryKeySet> for MintKeySetInfo
impl From<SignatoryKeySet> for MintKeySetInfo
Source§fn from(val: SignatoryKeySet) -> MintKeySetInfo
fn from(val: SignatoryKeySet) -> MintKeySetInfo
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
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 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request