pub struct Client { /* private fields */ }Available on crate feature
_async only.Expand description
Async DingTalk SDK client.
Implementations§
Source§impl Client
impl Client
Sourcepub fn builder() -> ClientBuilder
pub fn builder() -> ClientBuilder
Returns a new builder.
Sourcepub fn webhook(
&self,
token: impl Into<String>,
secret: Option<String>,
) -> WebhookService
pub fn webhook( &self, token: impl Into<String>, secret: Option<String>, ) -> WebhookService
Creates a webhook robot service.
Sourcepub fn enterprise(
&self,
appkey: impl Into<String>,
appsecret: impl Into<String>,
robot_code: impl Into<String>,
) -> EnterpriseService
pub fn enterprise( &self, appkey: impl Into<String>, appsecret: impl Into<String>, robot_code: impl Into<String>, ) -> EnterpriseService
Creates an enterprise robot service.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl !UnwindSafe for Client
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