pub struct AppResponseTelegramAuthConfig {
pub bot_id: String,
pub bot_name: String,
pub link_enabled: bool,
pub seamless_auth_enabled: bool,
}Expand description
AppResponseTelegramAuthConfig
JSON schema
{
"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"
}
}
}Fields§
§bot_id: String§bot_name: String§link_enabled: bool§seamless_auth_enabled: boolTrait Implementations§
Source§impl Clone for AppResponseTelegramAuthConfig
impl Clone for AppResponseTelegramAuthConfig
Source§fn clone(&self) -> AppResponseTelegramAuthConfig
fn clone(&self) -> AppResponseTelegramAuthConfig
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 AppResponseTelegramAuthConfig
impl<'de> Deserialize<'de> for AppResponseTelegramAuthConfig
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<&AppResponseTelegramAuthConfig> for AppResponseTelegramAuthConfig
impl From<&AppResponseTelegramAuthConfig> for AppResponseTelegramAuthConfig
Source§fn from(value: &AppResponseTelegramAuthConfig) -> Self
fn from(value: &AppResponseTelegramAuthConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppResponseTelegramAuthConfig
impl RefUnwindSafe for AppResponseTelegramAuthConfig
impl Send for AppResponseTelegramAuthConfig
impl Sync for AppResponseTelegramAuthConfig
impl Unpin for AppResponseTelegramAuthConfig
impl UnsafeUnpin for AppResponseTelegramAuthConfig
impl UnwindSafe for AppResponseTelegramAuthConfig
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