Struct async_nats::Auth 
source · pub struct Auth {
    pub jwt: Option<String>,
    pub nkey: Option<String>,
    pub signature: Option<String>,
    pub username: Option<String>,
    pub password: Option<String>,
    pub token: Option<String>,
    /* private fields */
}Fields§
§jwt: Option<String>§nkey: Option<String>§signature: Option<String>§username: Option<String>§password: Option<String>§token: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl !UnwindSafe for Auth
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