pub struct GetOnrampUserLimitsBody {
pub payment_method_type: OnrampOrderPaymentMethodTypeId,
pub user_id: String,
pub user_id_type: OnrampUserIdType,
}Expand description
GetOnrampUserLimitsBody
JSON schema
{
"type": "object",
"required": [
"paymentMethodType",
"userId",
"userIdType"
],
"properties": {
"paymentMethodType": {
"$ref": "#/components/schemas/OnrampOrderPaymentMethodTypeId"
},
"userId": {
"description": "The user identifier value. For `phone_number` type, this must be in E.164 format.",
"examples": [
"+12055555555"
],
"type": "string"
},
"userIdType": {
"$ref": "#/components/schemas/OnrampUserIdType"
}
}
}Fields§
§payment_method_type: OnrampOrderPaymentMethodTypeId§user_id: StringThe user identifier value. For phone_number type, this must be in E.164 format.
user_id_type: OnrampUserIdTypeImplementations§
Source§impl GetOnrampUserLimitsBody
impl GetOnrampUserLimitsBody
pub fn builder() -> GetOnrampUserLimitsBody
Trait Implementations§
Source§impl Clone for GetOnrampUserLimitsBody
impl Clone for GetOnrampUserLimitsBody
Source§fn clone(&self) -> GetOnrampUserLimitsBody
fn clone(&self) -> GetOnrampUserLimitsBody
Returns a duplicate of the value. Read more
1.0.0 · 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 GetOnrampUserLimitsBody
impl Debug for GetOnrampUserLimitsBody
Source§impl<'de> Deserialize<'de> for GetOnrampUserLimitsBody
impl<'de> Deserialize<'de> for GetOnrampUserLimitsBody
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<&GetOnrampUserLimitsBody> for GetOnrampUserLimitsBody
impl From<&GetOnrampUserLimitsBody> for GetOnrampUserLimitsBody
Source§fn from(value: &GetOnrampUserLimitsBody) -> Self
fn from(value: &GetOnrampUserLimitsBody) -> Self
Converts to this type from the input type.
Source§impl From<GetOnrampUserLimitsBody> for GetOnrampUserLimitsBody
impl From<GetOnrampUserLimitsBody> for GetOnrampUserLimitsBody
Source§fn from(value: GetOnrampUserLimitsBody) -> Self
fn from(value: GetOnrampUserLimitsBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetOnrampUserLimitsBody
impl Serialize for GetOnrampUserLimitsBody
Source§impl TryFrom<GetOnrampUserLimitsBody> for GetOnrampUserLimitsBody
impl TryFrom<GetOnrampUserLimitsBody> for GetOnrampUserLimitsBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetOnrampUserLimitsBody) -> Result<Self, ConversionError>
fn try_from(value: GetOnrampUserLimitsBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetOnrampUserLimitsBody
impl RefUnwindSafe for GetOnrampUserLimitsBody
impl Send for GetOnrampUserLimitsBody
impl Sync for GetOnrampUserLimitsBody
impl Unpin for GetOnrampUserLimitsBody
impl UnsafeUnpin for GetOnrampUserLimitsBody
impl UnwindSafe for GetOnrampUserLimitsBody
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