pub struct Credentials {
pub db_url: Secret,
pub management_token: Option<Secret>,
pub notes: Vec<String>,
}Expand description
Where each credential came from — the flag or the environment — with the value itself never leaving this struct.
Fields§
§db_url: SecretThe database URL.
management_token: Option<Secret>The Management API token, if any.
notes: Vec<String>Notes for stderr: a credential given as a flag is in the shell history and the process list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnsafeUnpin for Credentials
impl UnwindSafe for Credentials
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