pub struct ProviderSection {Show 14 fields
pub provider: String,
pub token: String,
pub alias_prefix: String,
pub user: String,
pub identity_file: String,
pub url: String,
pub verify_tls: bool,
pub auto_sync: bool,
pub profile: String,
pub regions: String,
pub project: String,
pub compartment: String,
pub vault_role: String,
pub vault_addr: String,
}Expand description
A configured provider section from ~/.purple/providers.
Fields§
§provider: String§token: String§alias_prefix: String§user: String§identity_file: String§url: String§verify_tls: bool§auto_sync: bool§profile: String§regions: String§project: String§compartment: String§vault_role: String§vault_addr: StringOptional VAULT_ADDR override passed to the vault CLI when signing
SSH certs. Empty = inherit parent env. Stored as a plain string so an
uninitialized field (via ..Default::default()) stays innocuous.
Trait Implementations§
Source§impl Clone for ProviderSection
impl Clone for ProviderSection
Source§fn clone(&self) -> ProviderSection
fn clone(&self) -> ProviderSection
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 moreAuto Trait Implementations§
impl Freeze for ProviderSection
impl RefUnwindSafe for ProviderSection
impl Send for ProviderSection
impl Sync for ProviderSection
impl Unpin for ProviderSection
impl UnsafeUnpin for ProviderSection
impl UnwindSafe for ProviderSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more