Enum jira_issue_api::Credential 
source · pub enum Credential {
    Anonymous,
    ApiToken {
        login: String,
        token: String,
    },
    PersonalAccessToken(String),
}Expand description
Supported Authentication methods
Variants§
Anonymous
Anonymous Omit Authorization header
ApiToken
User email/username and token
Authorization: Basic 
PersonalAccessToken(String)
Personal Access Token
Authorization: Bearer 
Trait Implementations§
source§impl Clone for Credential
 
impl Clone for Credential
source§fn clone(&self) -> Credential
 
fn clone(&self) -> Credential
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for Credential
 
impl Debug for Credential
source§impl PartialEq for Credential
 
impl PartialEq for Credential
source§fn eq(&self, other: &Credential) -> bool
 
fn eq(&self, other: &Credential) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for Credential
impl StructuralPartialEq for Credential
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnwindSafe for Credential
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