Struct ssh2_config::HostClause
source · pub struct HostClause {
pub pattern: String,
pub negated: bool,
}Expand description
Describes a single clause to match host
Fields§
§pattern: String§negated: boolImplementations§
Trait Implementations§
source§impl Clone for HostClause
impl Clone for HostClause
source§fn clone(&self) -> HostClause
fn clone(&self) -> HostClause
Returns a copy 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 HostClause
impl Debug for HostClause
source§impl Ord for HostClause
impl Ord for HostClause
source§impl PartialEq<HostClause> for HostClause
impl PartialEq<HostClause> for HostClause
source§fn eq(&self, other: &HostClause) -> bool
fn eq(&self, other: &HostClause) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HostClause> for HostClause
impl PartialOrd<HostClause> for HostClause
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more