pub struct UsernamePasswordCredentials {
pub password_secret_version: Option<String>,
pub username: Option<String>,
}Expand description
Username and password credentials.
This type is not used in any activity, and only used as part of another schema.
Fields§
§password_secret_version: Option<String>The Secret Manager key version that holds the password to access the remote repository. Must be in the format of projects/{project}/secrets/{secret}/versions/{version}.
username: Option<String>The username to access the remote repository.
Trait Implementations§
Source§impl Clone for UsernamePasswordCredentials
impl Clone for UsernamePasswordCredentials
Source§fn clone(&self) -> UsernamePasswordCredentials
fn clone(&self) -> UsernamePasswordCredentials
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 Debug for UsernamePasswordCredentials
impl Debug for UsernamePasswordCredentials
Source§impl Default for UsernamePasswordCredentials
impl Default for UsernamePasswordCredentials
Source§fn default() -> UsernamePasswordCredentials
fn default() -> UsernamePasswordCredentials
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsernamePasswordCredentials
impl<'de> Deserialize<'de> for UsernamePasswordCredentials
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
impl Part for UsernamePasswordCredentials
Auto Trait Implementations§
impl Freeze for UsernamePasswordCredentials
impl RefUnwindSafe for UsernamePasswordCredentials
impl Send for UsernamePasswordCredentials
impl Sync for UsernamePasswordCredentials
impl Unpin for UsernamePasswordCredentials
impl UnwindSafe for UsernamePasswordCredentials
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