pub struct OnrampLimitUpgrade {
pub limit_type: OnrampLimitType,
pub max_upgrade: String,
}Expand description
Describes a limit value associated with an upgrade.
JSON schema
{
"description": "Describes a limit value associated with an upgrade.",
"type": "object",
"required": [
"limitType",
"maxUpgrade"
],
"properties": {
"limitType": {
"$ref": "#/components/schemas/OnrampLimitType"
},
"maxUpgrade": {
"description": "The maximum limit value possible after completing the upgrade. Risk factors may impact the actual limit value that takes effect. For `lifetime_transactions`, `2147483647` represents an unlimited number of transactions.",
"examples": [
"2500"
],
"type": "string"
}
}
}Fields§
§limit_type: OnrampLimitType§max_upgrade: StringThe maximum limit value possible after completing the upgrade. Risk factors may impact the actual limit value that takes effect. For lifetime_transactions, 2147483647 represents an unlimited number of transactions.
Implementations§
Source§impl OnrampLimitUpgrade
impl OnrampLimitUpgrade
pub fn builder() -> OnrampLimitUpgrade
Trait Implementations§
Source§impl Clone for OnrampLimitUpgrade
impl Clone for OnrampLimitUpgrade
Source§impl Debug for OnrampLimitUpgrade
impl Debug for OnrampLimitUpgrade
Source§impl<'de> Deserialize<'de> for OnrampLimitUpgrade
impl<'de> Deserialize<'de> for OnrampLimitUpgrade
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 From<&OnrampLimitUpgrade> for OnrampLimitUpgrade
impl From<&OnrampLimitUpgrade> for OnrampLimitUpgrade
Source§fn from(value: &OnrampLimitUpgrade) -> Self
fn from(value: &OnrampLimitUpgrade) -> Self
Converts to this type from the input type.
Source§impl From<OnrampLimitUpgrade> for OnrampLimitUpgrade
impl From<OnrampLimitUpgrade> for OnrampLimitUpgrade
Source§fn from(value: OnrampLimitUpgrade) -> Self
fn from(value: OnrampLimitUpgrade) -> Self
Converts to this type from the input type.
Source§impl Serialize for OnrampLimitUpgrade
impl Serialize for OnrampLimitUpgrade
Source§impl TryFrom<OnrampLimitUpgrade> for OnrampLimitUpgrade
impl TryFrom<OnrampLimitUpgrade> for OnrampLimitUpgrade
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OnrampLimitUpgrade) -> Result<Self, ConversionError>
fn try_from(value: OnrampLimitUpgrade) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnrampLimitUpgrade
impl RefUnwindSafe for OnrampLimitUpgrade
impl Send for OnrampLimitUpgrade
impl Sync for OnrampLimitUpgrade
impl Unpin for OnrampLimitUpgrade
impl UnsafeUnpin for OnrampLimitUpgrade
impl UnwindSafe for OnrampLimitUpgrade
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