pub struct OnrampLimitUpgradeOption {
pub fields: Vec<OnrampLimitUpgradeIdentityFieldKey>,
pub limit_upgrades: Vec<OnrampLimitUpgrade>,
pub status: OnrampLimitUpgradeStatus,
}Expand description
Describes the current status and potential limit changes for a limit upgrade.
JSON schema
{
"description": "Describes the current status and potential limit changes for a limit upgrade.",
"type": "object",
"required": [
"fields",
"limitUpgrades",
"status"
],
"properties": {
"fields": {
"description": "The identity fields associated with the current status. Contains fields to submit for `unrequested` and `resubmit`, fields pending review for `pending`, and is empty for `active` and `inactive`.",
"examples": [
[
"ssnLast4",
"dateOfBirth"
]
],
"type": "array",
"items": {
"$ref": "#/components/schemas/OnrampLimitUpgradeIdentityFieldKey"
}
},
"limitUpgrades": {
"description": "The limit values associated with this upgrade.",
"examples": [
[
{
"limitType": "weekly_spending",
"maxUpgrade": "2500"
},
{
"limitType": "lifetime_transactions",
"maxUpgrade": "2147483647"
}
]
],
"type": "array",
"items": {
"$ref": "#/components/schemas/OnrampLimitUpgrade"
}
},
"status": {
"$ref": "#/components/schemas/OnrampLimitUpgradeStatus"
}
}
}Fields§
§fields: Vec<OnrampLimitUpgradeIdentityFieldKey>The identity fields associated with the current status. Contains fields to submit for unrequested and resubmit, fields pending review for pending, and is empty for active and inactive.
limit_upgrades: Vec<OnrampLimitUpgrade>The limit values associated with this upgrade.
status: OnrampLimitUpgradeStatusImplementations§
Source§impl OnrampLimitUpgradeOption
impl OnrampLimitUpgradeOption
pub fn builder() -> OnrampLimitUpgradeOption
Trait Implementations§
Source§impl Clone for OnrampLimitUpgradeOption
impl Clone for OnrampLimitUpgradeOption
Source§impl Debug for OnrampLimitUpgradeOption
impl Debug for OnrampLimitUpgradeOption
Source§impl<'de> Deserialize<'de> for OnrampLimitUpgradeOption
impl<'de> Deserialize<'de> for OnrampLimitUpgradeOption
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<&OnrampLimitUpgradeOption> for OnrampLimitUpgradeOption
impl From<&OnrampLimitUpgradeOption> for OnrampLimitUpgradeOption
Source§fn from(value: &OnrampLimitUpgradeOption) -> Self
fn from(value: &OnrampLimitUpgradeOption) -> Self
Converts to this type from the input type.
Source§impl From<OnrampLimitUpgradeOption> for OnrampLimitUpgradeOption
impl From<OnrampLimitUpgradeOption> for OnrampLimitUpgradeOption
Source§fn from(value: OnrampLimitUpgradeOption) -> Self
fn from(value: OnrampLimitUpgradeOption) -> Self
Converts to this type from the input type.
Source§impl Serialize for OnrampLimitUpgradeOption
impl Serialize for OnrampLimitUpgradeOption
Source§impl TryFrom<OnrampLimitUpgradeOption> for OnrampLimitUpgradeOption
impl TryFrom<OnrampLimitUpgradeOption> for OnrampLimitUpgradeOption
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OnrampLimitUpgradeOption) -> Result<Self, ConversionError>
fn try_from(value: OnrampLimitUpgradeOption) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnrampLimitUpgradeOption
impl RefUnwindSafe for OnrampLimitUpgradeOption
impl Send for OnrampLimitUpgradeOption
impl Sync for OnrampLimitUpgradeOption
impl Unpin for OnrampLimitUpgradeOption
impl UnsafeUnpin for OnrampLimitUpgradeOption
impl UnwindSafe for OnrampLimitUpgradeOption
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