pub struct Tag {
pub name: Option<TagName>,
pub value: TagValue,
}Expand description
A Tag may optionally have a name, but must have a value
Fields§
§name: Option<TagName>§value: TagValueImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Tag
impl Ord for Tag
Source§impl PartialOrd for Tag
impl PartialOrd for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
Source§impl<T> BoolTagExprLexicalParse for Twhere
T: ToString,
impl<T> BoolTagExprLexicalParse for Twhere
T: ToString,
Source§fn lexical_parse(self) -> Result<LexicalTokenStream, ParseError>
fn lexical_parse(self) -> Result<LexicalTokenStream, ParseError>
Lexically parse value
Source§impl<T> BoolTagExprSyntaxParse<T> for Twhere
T: BoolTagExprLexicalParse,
impl<T> BoolTagExprSyntaxParse<T> for Twhere
T: BoolTagExprLexicalParse,
Source§fn syntax_parse(self) -> Result<BoolTagExpr, ParseError>
fn syntax_parse(self) -> Result<BoolTagExpr, ParseError>
Lexically and then syntactically parse the value into a boolean
expression tree
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