pub struct QQConfig {
pub enabled: bool,
pub app_id: String,
pub secret: String,
pub allow_from: Vec<String>,
}Expand description
QQ channel configuration
Fields§
§enabled: bool§app_id: String§secret: String§allow_from: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for QQConfig
impl<'de> Deserialize<'de> for QQConfig
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 QQConfig
impl RefUnwindSafe for QQConfig
impl Send for QQConfig
impl Sync for QQConfig
impl Unpin for QQConfig
impl UnsafeUnpin for QQConfig
impl UnwindSafe for QQConfig
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