pub struct KeyOption {
pub name: String,
pub value: Option<String>,
}Expand description
An option before a key: no-pty, or from="198.51.100.0/24".
Fields§
§name: StringIts name, as written.
value: Option<String>Its value, quotes removed and \" unescaped.
Trait Implementations§
impl Eq for KeyOption
impl StructuralPartialEq for KeyOption
Auto Trait Implementations§
impl Freeze for KeyOption
impl RefUnwindSafe for KeyOption
impl Send for KeyOption
impl Sync for KeyOption
impl Unpin for KeyOption
impl UnsafeUnpin for KeyOption
impl UnwindSafe for KeyOption
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