pub struct SourceControlSecurityTokenProperties {
pub access_token: Option<String>,
pub refresh_token: Option<String>,
pub token_type: Option<TokenType>,
}Fields§
§access_token: Option<String>The access token.
refresh_token: Option<String>The refresh token.
token_type: Option<TokenType>The token type. Must be either PersonalAccessToken or Oauth.
Implementations§
Trait Implementations§
Source§impl Clone for SourceControlSecurityTokenProperties
impl Clone for SourceControlSecurityTokenProperties
Source§fn clone(&self) -> SourceControlSecurityTokenProperties
fn clone(&self) -> SourceControlSecurityTokenProperties
Returns a duplicate 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 Default for SourceControlSecurityTokenProperties
impl Default for SourceControlSecurityTokenProperties
Source§fn default() -> SourceControlSecurityTokenProperties
fn default() -> SourceControlSecurityTokenProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceControlSecurityTokenProperties
impl<'de> Deserialize<'de> for SourceControlSecurityTokenProperties
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SourceControlSecurityTokenProperties
impl PartialEq for SourceControlSecurityTokenProperties
Source§fn eq(&self, other: &SourceControlSecurityTokenProperties) -> bool
fn eq(&self, other: &SourceControlSecurityTokenProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceControlSecurityTokenProperties
Auto Trait Implementations§
impl Freeze for SourceControlSecurityTokenProperties
impl RefUnwindSafe for SourceControlSecurityTokenProperties
impl Send for SourceControlSecurityTokenProperties
impl Sync for SourceControlSecurityTokenProperties
impl Unpin for SourceControlSecurityTokenProperties
impl UnwindSafe for SourceControlSecurityTokenProperties
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