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 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 HostClause
impl Debug for HostClause
Source§impl Display for HostClause
impl Display for HostClause
Source§impl PartialEq for HostClause
impl PartialEq for HostClause
impl Eq for HostClause
impl StructuralPartialEq for HostClause
Auto Trait Implementations§
impl Freeze for HostClause
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