pub struct LedgerAuth {
pub token_env: Option<String>,
pub token_cmd: Option<String>,
}Expand description
Credentials configuration for registry authentication.
Fields§
§token_env: Option<String>Name of the environment variable holding the registry token.
token_cmd: Option<String>Shell command whose stdout is used as the registry token.
Trait Implementations§
Source§impl Clone for LedgerAuth
impl Clone for LedgerAuth
Source§fn clone(&self) -> LedgerAuth
fn clone(&self) -> LedgerAuth
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 LedgerAuth
impl Debug for LedgerAuth
Source§impl Default for LedgerAuth
impl Default for LedgerAuth
Source§fn default() -> LedgerAuth
fn default() -> LedgerAuth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LedgerAuth
impl<'de> Deserialize<'de> for LedgerAuth
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 LedgerAuth
impl PartialEq for LedgerAuth
Source§impl Serialize for LedgerAuth
impl Serialize for LedgerAuth
impl StructuralPartialEq for LedgerAuth
Auto Trait Implementations§
impl Freeze for LedgerAuth
impl RefUnwindSafe for LedgerAuth
impl Send for LedgerAuth
impl Sync for LedgerAuth
impl Unpin for LedgerAuth
impl UnsafeUnpin for LedgerAuth
impl UnwindSafe for LedgerAuth
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