pub fn tag_predicate(self, tag_name: impl Into<String>, tag_value: impl Into<String>) -> Self {
        let predicate = Predicate {
            root: Some(Node {
                node_type: NodeType::ComparisonExpression as i32,
                children: vec![
                    Node {
                        node_type: NodeType::TagRef as i32,
                        children: vec![],
                        value: Some(Value::TagRefValue(tag_name.into().into())),
                    },
                    Node {
                        node_type: NodeType::Literal as i32,
                        children: vec![],
                        value: Some(Value::StringValue(tag_value.into())),
                    },
                ],
                value: Some(Value::Comparison(Comparison::Equal as _)),
            }),
        };
        self.predicate(predicate)
    }
/// Set predicate to be  `tag_name=tag_value` in the horrible gRPC
/// structs
Set predicate to be  `tag_name=tag_value` in the horrible gRPC
structs
Set predicate to be ` tag_name = tag_value ` in the horrible gRPC structs
pub fn tag_predicate(self, tag_name: impl Into<String>, tag_value: impl Into<String>) -> Self {
        let predicate = Predicate {
            root: Some(Node {
                node_type: NodeType::ComparisonExpression as i32,
                children: vec![
                    Node {
                        node_type: NodeType::TagRef as i32,
                        children: vec![],
                        value: Some(Value::TagRefValue(tag_name.into().into())),
                    },
                    Node {
                        node_type: NodeType::Literal as i32,
                        children: vec![],
                        value: Some(Value::StringValue(tag_value.into())),
                    },
                ],
                value: Some(Value::Comparison(Comparison::Equal as _)),
            }),
        };
        self.predicate(predicate)
    }
pub fn tag_predicate ( self , tag_name : impl Into < String > , tag_value : impl Into < String > ) -> Self { let predicate = Predicate { root : Some ( Node { node_type : NodeType :: ComparisonExpression as i32 , children : vec ! [ Node { node_type NodeType TagRef as i32 children vec [ ] value Some ( Value TagRefValue ( tag_name into ( ) into ( ) ) ) } Node { node_type NodeType Literal as i32 children vec [ ] value Some ( Value StringValue ( tag_value into ( ) ) ) } ] , value : Some ( Value :: Comparison ( Comparison :: Equal as _ ) ) , } ) , } ; self . predicate ( predicate ) }
Set predicate to be  `tag_name=tag_value` in the horrible gRPC
structs
Set predicate to be ` tag_name = tag_value ` in the horrible gRPC structs
self
tag_name
impl Into<String>
tag_value
impl Into<String>
self
tag_name
impl Into<String>
tag_value
impl Into<String>