pub struct Profile {
pub host: String,
pub username: Option<String>,
pub fingerprint: Option<Fingerprint>,
pub password_command: Option<PasswordCommand>,
}Expand description
How to reach one device.
Fields§
§host: StringThe host name, host:port, or the full TR-064 address. See
connection::parse_host.
username: Option<String>The user on the device.
fingerprint: Option<Fingerprint>The fingerprint of the trusted certificate.
password_command: Option<PasswordCommand>The command that prints the password, see
command.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Forget for Profile
impl Freeze for Profile
impl Move for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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