pub struct Subscription {
pub type: String,
pub topic: String,
}
Expand description
Definition of subscription types registered with the DingTalk server
Fields§
§type: String
Type
- EVENT
- SYSTEM
- CALLBACK
topic: String
Topic
- “/v1.0/im/bot/messages/get”;
- “/v1.0/card/instances/callback”;
Trait Implementations§
Source§impl Debug for Subscription
impl Debug for Subscription
Auto Trait Implementations§
impl Freeze for Subscription
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnwindSafe for Subscription
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