pub struct HostBlock {
pub host_pattern: String,
pub raw_host_line: String,
pub directives: Vec<Directive>,
}Expand description
A parsed Host block with its directives.
Fields§
§host_pattern: StringThe host alias/pattern (the value after “Host”).
raw_host_line: StringThe original raw “Host …” line for faithful reproduction.
directives: Vec<Directive>Parsed directives inside this block.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostBlock
impl RefUnwindSafe for HostBlock
impl Send for HostBlock
impl Sync for HostBlock
impl Unpin for HostBlock
impl UnsafeUnpin for HostBlock
impl UnwindSafe for HostBlock
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