pub struct TelegramAuthConfigSchema {
pub bot_id: String,
pub bot_name: String,
pub link_enabled: bool,
pub seamless_auth_enabled: bool,
}Expand description
Configuration for Telegram authentication.
JSON schema
{
"title": "TelegramAuthConfigSchema",
"description": "Configuration for Telegram authentication.",
"type": "object",
"required": [
"bot_id",
"bot_name",
"link_enabled",
"seamless_auth_enabled"
],
"properties": {
"bot_id": {
"type": "string"
},
"bot_name": {
"type": "string"
},
"link_enabled": {
"type": "boolean"
},
"seamless_auth_enabled": {
"type": "boolean"
}
},
"x-stainless-model": "apps.telegram_auth_config_schema"
}Fields§
§bot_id: String§bot_name: String§link_enabled: bool§seamless_auth_enabled: boolTrait Implementations§
Source§impl Clone for TelegramAuthConfigSchema
impl Clone for TelegramAuthConfigSchema
Source§fn clone(&self) -> TelegramAuthConfigSchema
fn clone(&self) -> TelegramAuthConfigSchema
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 TelegramAuthConfigSchema
impl Debug for TelegramAuthConfigSchema
Source§impl<'de> Deserialize<'de> for TelegramAuthConfigSchema
impl<'de> Deserialize<'de> for TelegramAuthConfigSchema
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<&TelegramAuthConfigSchema> for TelegramAuthConfigSchema
impl From<&TelegramAuthConfigSchema> for TelegramAuthConfigSchema
Source§fn from(value: &TelegramAuthConfigSchema) -> Self
fn from(value: &TelegramAuthConfigSchema) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TelegramAuthConfigSchema
impl RefUnwindSafe for TelegramAuthConfigSchema
impl Send for TelegramAuthConfigSchema
impl Sync for TelegramAuthConfigSchema
impl Unpin for TelegramAuthConfigSchema
impl UnsafeUnpin for TelegramAuthConfigSchema
impl UnwindSafe for TelegramAuthConfigSchema
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