pub struct GetOnrampUserLimitsResponse {
pub limit_upgrade_options: Vec<OnrampLimitUpgradeOption>,
pub limits: Vec<OnrampUserLimit>,
}Expand description
GetOnrampUserLimitsResponse
JSON schema
{
"type": "object",
"required": [
"limits"
],
"properties": {
"limitUpgradeOptions": {
"description": "The user's limit upgrade status and associated upgrade details. Omitted when limit upgrades are not available for the calling app or user. Use the [Request Limit Upgrade](https://docs.cdp.coinbase.com/api-reference/v2/rest-api/onramp/request-limits-upgrade) endpoint to request a limit upgrade.",
"type": "array",
"items": {
"$ref": "#/components/schemas/OnrampLimitUpgradeOption"
}
},
"limits": {
"description": "The list of limits applicable to the user.",
"type": "array",
"items": {
"$ref": "#/components/schemas/OnrampUserLimit"
}
}
}
}Fields§
§limit_upgrade_options: Vec<OnrampLimitUpgradeOption>The user’s limit upgrade status and associated upgrade details. Omitted when limit upgrades are not available for the calling app or user. Use the Request Limit Upgrade endpoint to request a limit upgrade.
limits: Vec<OnrampUserLimit>The list of limits applicable to the user.
Implementations§
Trait Implementations§
Source§impl Clone for GetOnrampUserLimitsResponse
impl Clone for GetOnrampUserLimitsResponse
Source§impl Debug for GetOnrampUserLimitsResponse
impl Debug for GetOnrampUserLimitsResponse
Source§impl<'de> Deserialize<'de> for GetOnrampUserLimitsResponse
impl<'de> Deserialize<'de> for GetOnrampUserLimitsResponse
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<&GetOnrampUserLimitsResponse> for GetOnrampUserLimitsResponse
impl From<&GetOnrampUserLimitsResponse> for GetOnrampUserLimitsResponse
Source§fn from(value: &GetOnrampUserLimitsResponse) -> Self
fn from(value: &GetOnrampUserLimitsResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetOnrampUserLimitsResponse> for GetOnrampUserLimitsResponse
impl From<GetOnrampUserLimitsResponse> for GetOnrampUserLimitsResponse
Source§fn from(value: GetOnrampUserLimitsResponse) -> Self
fn from(value: GetOnrampUserLimitsResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetOnrampUserLimitsResponse> for GetOnrampUserLimitsResponse
impl TryFrom<GetOnrampUserLimitsResponse> for GetOnrampUserLimitsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetOnrampUserLimitsResponse) -> Result<Self, ConversionError>
fn try_from(value: GetOnrampUserLimitsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetOnrampUserLimitsResponse
impl RefUnwindSafe for GetOnrampUserLimitsResponse
impl Send for GetOnrampUserLimitsResponse
impl Sync for GetOnrampUserLimitsResponse
impl Unpin for GetOnrampUserLimitsResponse
impl UnsafeUnpin for GetOnrampUserLimitsResponse
impl UnwindSafe for GetOnrampUserLimitsResponse
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