pub struct Client {
pub webhook_url: String,
/* private fields */
}Expand description
Client for War Pigeon.
This allows users easy interaction with the API, as well as the ability to persist state (mainly context).
TODO: We can probably store a base message here.
Fields§
§webhook_url: StringThe webhook url.
Implementations§
Trait Implementations§
impl Eq for Client
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