pub struct MintInfo {
pub issuer: PublicKey,
pub layers: Vec<LayerSummary>,
pub policy: Policy,
pub rotation: Option<Schedule>,
pub paused: bool,
}Expand description
The parts of a mint’s GET /v1/mints/{mint}/info answer a holder needs.
Other fields in the answer are ignored.
Fields§
§issuer: PublicKeyThe mint’s issuer key, which every one of its notes names.
layers: Vec<LayerSummary>Every layer, first to last.
policy: PolicyThe rules the mint enforces.
rotation: Option<Schedule>The rotation schedule, or None when the mint rotates only on
request.
paused: boolWhether the mint is paused. A paused mint refuses transfers and skips its scheduled rotations.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MintInfo
impl<'de> Deserialize<'de> for MintInfo
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
impl Eq for MintInfo
impl StructuralPartialEq for MintInfo
Auto Trait Implementations§
impl Freeze for MintInfo
impl RefUnwindSafe for MintInfo
impl Send for MintInfo
impl Sync for MintInfo
impl Unpin for MintInfo
impl UnsafeUnpin for MintInfo
impl UnwindSafe for MintInfo
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