pub struct LarkConfig {
pub app_id: String,
pub app_secret: String,
pub base_url: String,
}Expand description
Configuration for the Lark Open Platform.
Obtain app_id and app_secret from the Lark Developer Console.
Fields§
§app_id: StringApplication ID (cli_xxx).
app_secret: StringApplication secret.
base_url: StringBase URL — defaults to "https://open.feishu.cn/open-apis" (Feishu public cloud).
Override with LarkConfig::with_base_url for private deployments.
Implementations§
Trait Implementations§
Source§impl Clone for LarkConfig
impl Clone for LarkConfig
Source§fn clone(&self) -> LarkConfig
fn clone(&self) -> LarkConfig
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 moreAuto Trait Implementations§
impl Freeze for LarkConfig
impl RefUnwindSafe for LarkConfig
impl Send for LarkConfig
impl Sync for LarkConfig
impl Unpin for LarkConfig
impl UnsafeUnpin for LarkConfig
impl UnwindSafe for LarkConfig
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