pub struct Host {
pub name: String,
pub base: Option<String>,
pub enabled: bool,
}Expand description
One host opened without being asked for, and where it is rooted.
Fields§
§name: String§base: Option<String>None for the remote’s home directory, resolved when it is first connected.
enabled: boolTrait Implementations§
impl Eq for Host
impl StructuralPartialEq for Host
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnsafeUnpin for Host
impl UnwindSafe for Host
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