pub struct FeishuConfig {
pub enabled: bool,
pub app_id: String,
pub app_secret: String,
pub encrypt_key: String,
pub verification_token: String,
pub allow_from: Vec<String>,
}Expand description
Feishu/Lark channel configuration
Fields§
§enabled: bool§app_id: String§app_secret: String§encrypt_key: String§verification_token: String§allow_from: Vec<String>Trait Implementations§
Source§impl Clone for FeishuConfig
impl Clone for FeishuConfig
Source§fn clone(&self) -> FeishuConfig
fn clone(&self) -> FeishuConfig
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 Debug for FeishuConfig
impl Debug for FeishuConfig
Source§impl Default for FeishuConfig
impl Default for FeishuConfig
Source§fn default() -> FeishuConfig
fn default() -> FeishuConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeishuConfig
impl<'de> Deserialize<'de> for FeishuConfig
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 FeishuConfig
impl RefUnwindSafe for FeishuConfig
impl Send for FeishuConfig
impl Sync for FeishuConfig
impl Unpin for FeishuConfig
impl UnsafeUnpin for FeishuConfig
impl UnwindSafe for FeishuConfig
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