pub struct GitCredentialOptions {
pub username: String,
pub password: String,
pub host: Option<String>,
pub protocol: Option<String>,
pub envs: Map<String, Value>,
pub timeout_seconds: Option<u64>,
}Expand description
Options for Git credentials stored in the sandbox credential helper.
Fields§
§username: StringUsername to store.
password: StringPassword or token to store.
host: Option<String>Git host. Defaults server-side when omitted.
protocol: Option<String>Git protocol. Defaults server-side when omitted.
envs: Map<String, Value>Environment variables for the Git process.
timeout_seconds: Option<u64>Server-side timeout in seconds.
Trait Implementations§
Source§impl Clone for GitCredentialOptions
impl Clone for GitCredentialOptions
Source§fn clone(&self) -> GitCredentialOptions
fn clone(&self) -> GitCredentialOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitCredentialOptions
impl Debug for GitCredentialOptions
Source§impl Default for GitCredentialOptions
impl Default for GitCredentialOptions
Source§fn default() -> GitCredentialOptions
fn default() -> GitCredentialOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GitCredentialOptions
impl RefUnwindSafe for GitCredentialOptions
impl Send for GitCredentialOptions
impl Sync for GitCredentialOptions
impl Unpin for GitCredentialOptions
impl UnsafeUnpin for GitCredentialOptions
impl UnwindSafe for GitCredentialOptions
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