pub struct SourceCredentialsInfo {
pub arn: Option<String>,
pub auth_type: Option<String>,
pub server_type: Option<String>,
}
Expand description
Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.
Fields§
§arn: Option<String>
The Amazon Resource Name (ARN) of the token.
auth_type: Option<String>
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
server_type: Option<String>
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
Trait Implementations§
Source§impl Clone for SourceCredentialsInfo
impl Clone for SourceCredentialsInfo
Source§fn clone(&self) -> SourceCredentialsInfo
fn clone(&self) -> SourceCredentialsInfo
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 SourceCredentialsInfo
impl Debug for SourceCredentialsInfo
Source§impl Default for SourceCredentialsInfo
impl Default for SourceCredentialsInfo
Source§fn default() -> SourceCredentialsInfo
fn default() -> SourceCredentialsInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceCredentialsInfo
impl<'de> Deserialize<'de> for SourceCredentialsInfo
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 SourceCredentialsInfo
impl PartialEq for SourceCredentialsInfo
impl StructuralPartialEq for SourceCredentialsInfo
Auto Trait Implementations§
impl Freeze for SourceCredentialsInfo
impl RefUnwindSafe for SourceCredentialsInfo
impl Send for SourceCredentialsInfo
impl Sync for SourceCredentialsInfo
impl Unpin for SourceCredentialsInfo
impl UnwindSafe for SourceCredentialsInfo
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