pub struct HostEntry {
pub alias: String,
pub hostname: String,
pub user: String,
pub port: u16,
pub identity_file: String,
pub proxy_jump: String,
pub source_file: Option<PathBuf>,
pub tags: Vec<String>,
pub provider: Option<String>,
}Expand description
Convenience view for the TUI — extracted from a HostBlock.
Fields§
§alias: String§hostname: String§user: String§port: u16§identity_file: String§proxy_jump: String§source_file: Option<PathBuf>If this host comes from an included file, the file path.
Tags from purple:tags comment.
provider: Option<String>Cloud provider label from purple:provider comment (e.g. “do”, “vultr”).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostEntry
impl RefUnwindSafe for HostEntry
impl Send for HostEntry
impl Sync for HostEntry
impl Unpin for HostEntry
impl UnsafeUnpin for HostEntry
impl UnwindSafe for HostEntry
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