pub struct LinkedAccountTelegram {
pub first_name: Option<String>,
pub first_verified_at: Option<f64>,
pub last_name: Option<String>,
pub latest_verified_at: Option<f64>,
pub photo_url: Option<String>,
pub telegram_user_id: String,
pub type_: LinkedAccountTelegramType,
pub username: Option<String>,
pub verified_at: f64,
}Expand description
LinkedAccountTelegram
JSON schema
{
"title": "Telegram",
"type": "object",
"required": [
"first_verified_at",
"latest_verified_at",
"telegram_user_id",
"type",
"verified_at"
],
"properties": {
"first_name": {
"type": [
"string",
"null"
]
},
"first_verified_at": {
"type": [
"number",
"null"
]
},
"last_name": {
"type": [
"string",
"null"
]
},
"latest_verified_at": {
"type": [
"number",
"null"
]
},
"photo_url": {
"type": [
"string",
"null"
]
},
"telegram_user_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"telegram"
]
},
"username": {
"type": [
"string",
"null"
]
},
"verified_at": {
"type": "number"
}
}
}Fields§
§first_name: Option<String>§first_verified_at: Option<f64>§last_name: Option<String>§latest_verified_at: Option<f64>§photo_url: Option<String>§telegram_user_id: String§type_: LinkedAccountTelegramType§username: Option<String>§verified_at: f64Trait Implementations§
Source§impl Clone for LinkedAccountTelegram
impl Clone for LinkedAccountTelegram
Source§fn clone(&self) -> LinkedAccountTelegram
fn clone(&self) -> LinkedAccountTelegram
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 LinkedAccountTelegram
impl Debug for LinkedAccountTelegram
Source§impl<'de> Deserialize<'de> for LinkedAccountTelegram
impl<'de> Deserialize<'de> for LinkedAccountTelegram
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<&LinkedAccountTelegram> for LinkedAccountTelegram
impl From<&LinkedAccountTelegram> for LinkedAccountTelegram
Source§fn from(value: &LinkedAccountTelegram) -> Self
fn from(value: &LinkedAccountTelegram) -> Self
Converts to this type from the input type.
Source§impl From<LinkedAccountTelegram> for LinkedAccount
impl From<LinkedAccountTelegram> for LinkedAccount
Source§fn from(value: LinkedAccountTelegram) -> Self
fn from(value: LinkedAccountTelegram) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountTelegram
impl RefUnwindSafe for LinkedAccountTelegram
impl Send for LinkedAccountTelegram
impl Sync for LinkedAccountTelegram
impl Unpin for LinkedAccountTelegram
impl UnwindSafe for LinkedAccountTelegram
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