pub enum CreateKrakenUserBodyClientIdentifier {
Variant0 {
calculated_at: DateTime<Utc>,
type_: CreateKrakenUserBodyClientIdentifierVariant0Type,
value: String,
},
Variant1 {
type_: CreateKrakenUserBodyClientIdentifierVariant1Type,
value: String,
},
Variant2 {
type_: CreateKrakenUserBodyClientIdentifierVariant2Type,
value: String,
},
Variant3 {
type_: CreateKrakenUserBodyClientIdentifierVariant3Type,
value: String,
},
Variant4 {
type_: CreateKrakenUserBodyClientIdentifierVariant4Type,
value: String,
},
Variant5 {
type_: CreateKrakenUserBodyClientIdentifierVariant5Type,
},
Variant6(Value),
}Expand description
CreateKrakenUserBodyClientIdentifier
JSON schema
{
"oneOf": [
{
"type": "object",
"required": [
"calculated_at",
"type",
"value"
],
"properties": {
"calculated_at": {
"type": "string",
"format": "date-time"
},
"type": {
"type": "string",
"enum": [
"concat"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"type": "string",
"enum": [
"passport"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"type": "string",
"enum": [
"national_id"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"type": "string",
"enum": [
"tax_id"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"type": "string",
"enum": [
"lei"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"unknown"
]
}
}
},
{}
]
}Variants§
Trait Implementations§
Source§impl Clone for CreateKrakenUserBodyClientIdentifier
impl Clone for CreateKrakenUserBodyClientIdentifier
Source§fn clone(&self) -> CreateKrakenUserBodyClientIdentifier
fn clone(&self) -> CreateKrakenUserBodyClientIdentifier
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<'de> Deserialize<'de> for CreateKrakenUserBodyClientIdentifier
impl<'de> Deserialize<'de> for CreateKrakenUserBodyClientIdentifier
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<&CreateKrakenUserBodyClientIdentifier> for CreateKrakenUserBodyClientIdentifier
impl From<&CreateKrakenUserBodyClientIdentifier> for CreateKrakenUserBodyClientIdentifier
Source§fn from(value: &CreateKrakenUserBodyClientIdentifier) -> Self
fn from(value: &CreateKrakenUserBodyClientIdentifier) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateKrakenUserBodyClientIdentifier
impl RefUnwindSafe for CreateKrakenUserBodyClientIdentifier
impl Send for CreateKrakenUserBodyClientIdentifier
impl Sync for CreateKrakenUserBodyClientIdentifier
impl Unpin for CreateKrakenUserBodyClientIdentifier
impl UnwindSafe for CreateKrakenUserBodyClientIdentifier
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