influxdb2 0.5.2

Influxdb 2 client library for rust
Documentation
//! CallExpression

use serde::{Deserialize, Serialize};

/// Represents a function call
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CallExpression {
    /// Type of AST node
    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
    pub r#type: Option<String>,
    /// Callee
    #[serde(skip_serializing_if = "Option::is_none")]
    pub callee: Option<Box<crate::models::ast::Expression>>,
    /// Function arguments
    #[serde(default, skip_serializing_if = "Vec::is_empty")]
    pub arguments: Vec<crate::models::ast::Expression>,
}

impl CallExpression {
    /// Represents a function call
    pub fn new() -> Self {
        Self::default()
    }
}