pub struct GeoExprNode {
pub field: String,
pub field_mutators: Option<Vec<Mutator>>,
pub type_hint: Option<String>,
pub conditions: Option<Box<AstNode>>,
pub geo_params: Option<HashMap<String, Value>>,
}Expand description
GeoIP expression node
Fields§
§field: StringField containing IP address
field_mutators: Option<Vec<Mutator>>Field mutators
type_hint: Option<String>Type hint
conditions: Option<Box<AstNode>>Conditions to apply to GeoIP results
geo_params: Option<HashMap<String, Value>>GeoIP parameters
Trait Implementations§
Source§impl Clone for GeoExprNode
impl Clone for GeoExprNode
Source§fn clone(&self) -> GeoExprNode
fn clone(&self) -> GeoExprNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeoExprNode
impl Debug for GeoExprNode
Source§impl<'de> Deserialize<'de> for GeoExprNode
impl<'de> Deserialize<'de> for GeoExprNode
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 PartialEq for GeoExprNode
impl PartialEq for GeoExprNode
Source§impl Serialize for GeoExprNode
impl Serialize for GeoExprNode
impl StructuralPartialEq for GeoExprNode
Auto Trait Implementations§
impl Freeze for GeoExprNode
impl RefUnwindSafe for GeoExprNode
impl Send for GeoExprNode
impl Sync for GeoExprNode
impl Unpin for GeoExprNode
impl UnwindSafe for GeoExprNode
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