pub struct OnrampLimitUpgradeEmbeddedResponse {
pub expires_at: DateTime<Utc>,
pub upgrade_url: Url,
}Expand description
A Coinbase-hosted URL for collecting limit upgrade identity fields.
JSON schema
{
"description": "A Coinbase-hosted URL for collecting limit upgrade identity fields.",
"type": "object",
"required": [
"expiresAt",
"upgradeUrl"
],
"properties": {
"expiresAt": {
"description": "The time at which the hosted limit upgrade URL expires. Request a new upgrade URL after this time.",
"examples": [
"2026-06-21T00:05:00Z"
],
"type": "string",
"format": "date-time"
},
"upgradeUrl": {
"description": "The Coinbase-hosted URL where the user enters identity information for the limit upgrade. Treat the session token in this URL as opaque.",
"examples": [
"https://pay.coinbase.com/v2/api-onramp/upgrade-limits?sessionToken=MWYwNWQwODktZTZlYy02OTdlLTgzZTYtMTI3NzcyOWJhNjM3"
],
"allOf": [
{
"$ref": "#/components/schemas/Url"
}
]
}
}
}Fields§
§expires_at: DateTime<Utc>The time at which the hosted limit upgrade URL expires. Request a new upgrade URL after this time.
upgrade_url: UrlThe Coinbase-hosted URL where the user enters identity information for the limit upgrade. Treat the session token in this URL as opaque.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnrampLimitUpgradeEmbeddedResponse
impl<'de> Deserialize<'de> for OnrampLimitUpgradeEmbeddedResponse
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<&OnrampLimitUpgradeEmbeddedResponse> for OnrampLimitUpgradeEmbeddedResponse
impl From<&OnrampLimitUpgradeEmbeddedResponse> for OnrampLimitUpgradeEmbeddedResponse
Source§fn from(value: &OnrampLimitUpgradeEmbeddedResponse) -> Self
fn from(value: &OnrampLimitUpgradeEmbeddedResponse) -> Self
Converts to this type from the input type.
Source§impl From<OnrampLimitUpgradeEmbeddedResponse> for OnrampLimitUpgradeEmbeddedResponse
impl From<OnrampLimitUpgradeEmbeddedResponse> for OnrampLimitUpgradeEmbeddedResponse
Source§fn from(value: OnrampLimitUpgradeEmbeddedResponse) -> Self
fn from(value: OnrampLimitUpgradeEmbeddedResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<OnrampLimitUpgradeEmbeddedResponse> for OnrampLimitUpgradeEmbeddedResponse
impl TryFrom<OnrampLimitUpgradeEmbeddedResponse> for OnrampLimitUpgradeEmbeddedResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: OnrampLimitUpgradeEmbeddedResponse,
) -> Result<Self, ConversionError>
fn try_from( value: OnrampLimitUpgradeEmbeddedResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnrampLimitUpgradeEmbeddedResponse
impl RefUnwindSafe for OnrampLimitUpgradeEmbeddedResponse
impl Send for OnrampLimitUpgradeEmbeddedResponse
impl Sync for OnrampLimitUpgradeEmbeddedResponse
impl Unpin for OnrampLimitUpgradeEmbeddedResponse
impl UnsafeUnpin for OnrampLimitUpgradeEmbeddedResponse
impl UnwindSafe for OnrampLimitUpgradeEmbeddedResponse
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