pub struct PatternEntry {
pub pattern: String,
pub hostname: String,
pub user: String,
pub port: u16,
pub identity_file: String,
pub proxy_jump: String,
pub tags: Vec<String>,
pub askpass: Option<String>,
pub source_file: Option<PathBuf>,
pub directives: Vec<(String, String)>,
}Expand description
Convenience view for pattern Host blocks in the TUI.
Fields§
§pattern: String§hostname: String§user: String§port: u16§identity_file: String§proxy_jump: String§askpass: Option<String>§source_file: Option<PathBuf>§directives: Vec<(String, String)>All non-comment directives as key-value pairs for display.
Trait Implementations§
Source§impl Clone for PatternEntry
impl Clone for PatternEntry
Source§fn clone(&self) -> PatternEntry
fn clone(&self) -> PatternEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PatternEntry
impl Debug for PatternEntry
Source§impl Default for PatternEntry
impl Default for PatternEntry
Source§fn default() -> PatternEntry
fn default() -> PatternEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PatternEntry
impl RefUnwindSafe for PatternEntry
impl Send for PatternEntry
impl Sync for PatternEntry
impl Unpin for PatternEntry
impl UnsafeUnpin for PatternEntry
impl UnwindSafe for PatternEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more