pub struct LimitResponse {
pub maximum_processed: Uint128,
pub current_processed: Uint128,
pub processed_time: u64,
pub processed_period: Expiration,
pub unstaking_time: u64,
pub unstaking_period: Expiration,
pub mint_cap: Uint128,
}Fields§
§maximum_processed: Uint128current max unstake processing amount allowed in the period
current_processed: Uint128§processed_time: u64§processed_period: Expiration§unstaking_time: u64the minimum number of blocks between each contract unstaking request
unstaking_period: Expirationcontract can only call unbound after this period
mint_cap: Uint128current max amount of liquid token can be minted
Trait Implementations§
Source§impl Clone for LimitResponse
impl Clone for LimitResponse
Source§fn clone(&self) -> LimitResponse
fn clone(&self) -> LimitResponse
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 LimitResponse
impl Debug for LimitResponse
Source§impl<'de> Deserialize<'de> for LimitResponse
impl<'de> Deserialize<'de> for LimitResponse
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 JsonSchema for LimitResponse
impl JsonSchema for LimitResponse
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 for LimitResponse
impl PartialEq for LimitResponse
Source§fn eq(&self, other: &LimitResponse) -> bool
fn eq(&self, other: &LimitResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LimitResponse
impl Serialize for LimitResponse
impl StructuralPartialEq for LimitResponse
Auto Trait Implementations§
impl Freeze for LimitResponse
impl RefUnwindSafe for LimitResponse
impl Send for LimitResponse
impl Sync for LimitResponse
impl Unpin for LimitResponse
impl UnsafeUnpin for LimitResponse
impl UnwindSafe for LimitResponse
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