pub struct MinterResponse {
pub minter: String,
pub cap: Option<Uint128>,
}
Fields§
§minter: String
§cap: Option<Uint128>
cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.
Trait Implementations§
source§impl Clone for MinterResponse
impl Clone for MinterResponse
source§fn clone(&self) -> MinterResponse
fn clone(&self) -> MinterResponse
Returns a copy 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 MinterResponse
impl Debug for MinterResponse
source§impl<'de> Deserialize<'de> for MinterResponse
impl<'de> Deserialize<'de> for MinterResponse
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MinterResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<MinterResponse, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for MinterResponse
impl JsonSchema for MinterResponse
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<MinterResponse> for MinterResponse
impl PartialEq<MinterResponse> for MinterResponse
source§fn eq(&self, other: &MinterResponse) -> bool
fn eq(&self, other: &MinterResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MinterResponse
impl Serialize for MinterResponse
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 MinterResponse
Auto Trait Implementations§
impl RefUnwindSafe for MinterResponse
impl Send for MinterResponse
impl Sync for MinterResponse
impl Unpin for MinterResponse
impl UnwindSafe for MinterResponse
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