pub struct Identifier {
pub key: String,
pub value: String,
}Expand description
An environment key and value that identified the terminal.
Command-derived matches have a DetectionSource::Command and no environment identifier.
Fields§
§key: StringName of the matching variable, using the detector’s canonical spelling.
value: StringLossily decoded value of the matching variable.
Trait Implementations§
Source§impl Clone for Identifier
impl Clone for Identifier
Source§impl Debug for Identifier
impl Debug for Identifier
impl Eq for Identifier
Source§impl PartialEq for Identifier
impl PartialEq for Identifier
impl StructuralPartialEq for Identifier
Auto Trait Implementations§
impl Forget for Identifier
impl Freeze for Identifier
impl Move for Identifier
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnsafeUnpin for Identifier
impl UnwindSafe for Identifier
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