pub struct TransferTelegramInput {
pub nonce: String,
pub telegram_auth_result: Option<TelegramAuthResult>,
pub telegram_web_app_data: Option<TelegramWebAppData>,
}Expand description
Input for transferring a Telegram account.
JSON schema
{
"title": "TransferTelegramInput",
"description": "Input for transferring a Telegram account.",
"type": "object",
"required": [
"nonce"
],
"properties": {
"nonce": {
"type": "string"
},
"telegram_auth_result": {
"$ref": "#/components/schemas/TelegramAuthResult"
},
"telegram_web_app_data": {
"$ref": "#/components/schemas/TelegramWebAppData"
}
},
"x-stainless-model": "client_auth.transfer_telegram_input"
}Fields§
§nonce: String§telegram_auth_result: Option<TelegramAuthResult>§telegram_web_app_data: Option<TelegramWebAppData>Trait Implementations§
Source§impl Clone for TransferTelegramInput
impl Clone for TransferTelegramInput
Source§fn clone(&self) -> TransferTelegramInput
fn clone(&self) -> TransferTelegramInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransferTelegramInput
impl Debug for TransferTelegramInput
Source§impl<'de> Deserialize<'de> for TransferTelegramInput
impl<'de> Deserialize<'de> for TransferTelegramInput
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<&TransferTelegramInput> for TransferTelegramInput
impl From<&TransferTelegramInput> for TransferTelegramInput
Source§fn from(value: &TransferTelegramInput) -> Self
fn from(value: &TransferTelegramInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransferTelegramInput
impl RefUnwindSafe for TransferTelegramInput
impl Send for TransferTelegramInput
impl Sync for TransferTelegramInput
impl Unpin for TransferTelegramInput
impl UnsafeUnpin for TransferTelegramInput
impl UnwindSafe for TransferTelegramInput
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