pub struct Overrides {
pub host: Option<String>,
pub username: Option<String>,
pub fingerprint: Option<String>,
}Expand description
Settings from the command line or the environment, which take precedence over the profile.
Fields§
§host: Option<String>The host, see parse_host.
username: Option<String>The user on the device.
fingerprint: Option<String>The fingerprint of the certificate to trust, as given. It is only checked when it is used, so that a server can start without one.
Implementations§
Source§impl Overrides
impl Overrides
Sourcepub fn fingerprint(&self) -> Result<Option<Fingerprint>, Error>
pub fn fingerprint(&self) -> Result<Option<Fingerprint>, Error>
The fingerprint of the certificate to trust, if one is given.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Overrides
impl Freeze for Overrides
impl Move for Overrides
impl RefUnwindSafe for Overrides
impl Send for Overrides
impl Sync for Overrides
impl Unpin for Overrides
impl UnsafeUnpin for Overrides
impl UnwindSafe for Overrides
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