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 moreimpl Eq for HostClause
impl StructuralEq for HostClause
impl StructuralPartialEq for HostClause
Auto Trait Implementations§
impl RefUnwindSafe for HostClause
impl Send for HostClause
impl Sync for HostClause
impl Unpin for HostClause
impl UnwindSafe for HostClause
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