pub struct FuncCall {
pub name: Identifier,
pub args: Vec<Expression>,
pub expand_final: bool,
}Expand description
Represents a function call expression with zero or more arguments.
Fields§
§name: IdentifierThe name of the function.
args: Vec<Expression>The function arguments.
expand_final: boolIf true, the final argument should be an array which will expand to be one argument per
element.
Implementations§
source§impl FuncCall
impl FuncCall
sourcepub fn new<T>(name: T) -> FuncCallwhere
T: Into<Identifier>,
pub fn new<T>(name: T) -> FuncCallwhere
T: Into<Identifier>,
Creates a new FuncCall for the function with given name.
sourcepub fn builder<T>(name: T) -> FuncCallBuilderwhere
T: Into<Identifier>,
pub fn builder<T>(name: T) -> FuncCallBuilderwhere
T: Into<Identifier>,
Creates a new FuncCallBuilder for the function with given name.
Trait Implementations§
source§impl<'de> Deserialize<'de> for FuncCall
impl<'de> Deserialize<'de> for FuncCall
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 From<FuncCall> for Expression
impl From<FuncCall> for Expression
source§impl<'de> IntoDeserializer<'de, Error> for FuncCall
impl<'de> IntoDeserializer<'de, Error> for FuncCall
§type Deserializer = MapAccessDeserializer<FuncCallAccess>
type Deserializer = MapAccessDeserializer<FuncCallAccess>
The type of the deserializer being converted into.
source§fn into_deserializer(self) -> Self::Deserializer
fn into_deserializer(self) -> Self::Deserializer
Convert this value into a deserializer.
source§impl PartialEq<FuncCall> for FuncCall
impl PartialEq<FuncCall> for FuncCall
impl Eq for FuncCall
impl StructuralEq for FuncCall
impl StructuralPartialEq for FuncCall
Auto Trait Implementations§
impl RefUnwindSafe for FuncCall
impl Send for FuncCall
impl Sync for FuncCall
impl Unpin for FuncCall
impl UnwindSafe for FuncCall
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.