pub struct ExternalClient {
pub name: String,
pub token: Secret<String>,
pub person: Option<String>,
}Expand description
A program that may give this bot tasks.
Fields§
§name: StringIts name.
token: Secret<String>The bearer token it presents.
person: Option<String>The person ([people] id) it acts for.
Trait Implementations§
Source§impl Clone for ExternalClient
impl Clone for ExternalClient
Auto Trait Implementations§
impl Freeze for ExternalClient
impl RefUnwindSafe for ExternalClient
impl Send for ExternalClient
impl Sync for ExternalClient
impl Unpin for ExternalClient
impl UnsafeUnpin for ExternalClient
impl UnwindSafe for ExternalClient
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