pub struct QqBotConfig {
pub app_id: String,
pub app_secret: String,
pub bot_token: String,
}Expand description
QQ Official Bot credentials (from [channels.qq_bot]).
Fields§
§app_id: String§app_secret: String§bot_token: StringTrait Implementations§
Source§impl Clone for QqBotConfig
impl Clone for QqBotConfig
Source§fn clone(&self) -> QqBotConfig
fn clone(&self) -> QqBotConfig
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 QqBotConfig
impl Debug for QqBotConfig
Source§impl<'de> Deserialize<'de> for QqBotConfig
impl<'de> Deserialize<'de> for QqBotConfig
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
Auto Trait Implementations§
impl Freeze for QqBotConfig
impl RefUnwindSafe for QqBotConfig
impl Send for QqBotConfig
impl Sync for QqBotConfig
impl Unpin for QqBotConfig
impl UnsafeUnpin for QqBotConfig
impl UnwindSafe for QqBotConfig
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