pub struct SignatoryKeySet {
pub id: Id,
pub unit: CurrencyUnit,
pub active: bool,
pub keys: Keys,
pub amounts: Vec<u64>,
pub input_fee_ppk: u64,
pub final_expiry: Option<u64>,
pub issuer_version: Option<IssuerVersion>,
}Expand description
SignatoryKeySet
This struct is used to represent a keyset and its info, pretty much all the information but the private key, that will never leave the signatory
Fields§
§id: IdThe keyset Id
unit: CurrencyUnitThe Currency Unit
active: boolWhether to set it as active or not
keys: KeysThe list of public keys
amounts: Vec<u64>Amounts supported by the keyset
input_fee_ppk: u64Input fee for the keyset (parts per thousand)
final_expiry: Option<u64>Final expiry of the keyset (unix timestamp in the future)
issuer_version: Option<IssuerVersion>Issuer Version
Trait Implementations§
Source§impl Clone for SignatoryKeySet
impl Clone for SignatoryKeySet
Source§fn clone(&self) -> SignatoryKeySet
fn clone(&self) -> SignatoryKeySet
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 SignatoryKeySet
impl Debug for SignatoryKeySet
Source§impl From<&(MintKeySetInfo, MintKeySet)> for SignatoryKeySet
impl From<&(MintKeySetInfo, MintKeySet)> for SignatoryKeySet
Source§fn from((info, key): &(MintKeySetInfo, MintKeySet)) -> Self
fn from((info, key): &(MintKeySetInfo, MintKeySet)) -> Self
Converts to this type from the input type.
Source§impl From<&SignatoryKeySet> for KeySet
impl From<&SignatoryKeySet> for KeySet
Source§fn from(val: &SignatoryKeySet) -> Self
fn from(val: &SignatoryKeySet) -> Self
Converts to this type from the input type.
Source§impl From<&SignatoryKeySet> for MintKeySetInfo
impl From<&SignatoryKeySet> for MintKeySetInfo
Source§fn from(val: &SignatoryKeySet) -> Self
fn from(val: &SignatoryKeySet) -> Self
Converts to this type from the input type.
Source§impl From<SignatoryKeySet> for KeySet
impl From<SignatoryKeySet> for KeySet
Source§fn from(val: SignatoryKeySet) -> Self
fn from(val: SignatoryKeySet) -> Self
Converts to this type from the input type.
Source§impl From<SignatoryKeySet> for MintKeySetInfo
impl From<SignatoryKeySet> for MintKeySetInfo
Source§fn from(val: SignatoryKeySet) -> Self
fn from(val: SignatoryKeySet) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignatoryKeySet
impl RefUnwindSafe for SignatoryKeySet
impl Send for SignatoryKeySet
impl Sync for SignatoryKeySet
impl Unpin for SignatoryKeySet
impl UnsafeUnpin for SignatoryKeySet
impl UnwindSafe for SignatoryKeySet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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