Struct dingtalk_stream_sdk_rust::ClientConfig
source · pub struct ClientConfig {
pub client_id: String,
pub client_secret: String,
pub ua: String,
pub subscriptions: Vec<Subscription>,
/* private fields */
}
Expand description
Client config that need to be sent to DingTalk server to get endpoint
Fields§
§client_id: String
Client id also known as AppKey in DingTalk Backend
client_secret: String
Client secret also known as AppSecret in DingTalk Backend
ua: String
User-Agent sent to server
subscriptions: Vec<Subscription>
Subscriptions defines the types of event that you are concerned about
Trait Implementations§
source§impl Debug for ClientConfig
impl Debug for ClientConfig
source§impl Default for ClientConfig
impl Default for ClientConfig
Auto Trait Implementations§
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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