Enum air_parser::ast::ApArgument
source · pub enum ApArgument<'i> {
InitPeerId,
Timestamp,
TTL,
LastError(Option<LambdaAST<'i>>),
Literal(&'i str),
Number(Number),
Boolean(bool),
EmptyArray,
Scalar(Scalar<'i>),
ScalarWithLambda(ScalarWithLambda<'i>),
CanonStream(CanonStream<'i>),
CanonStreamWithLambda(CanonStreamWithLambda<'i>),
}
Variants§
InitPeerId
Timestamp
TTL
LastError(Option<LambdaAST<'i>>)
Literal(&'i str)
Number(Number)
Boolean(bool)
EmptyArray
Scalar(Scalar<'i>)
ScalarWithLambda(ScalarWithLambda<'i>)
CanonStream(CanonStream<'i>)
CanonStreamWithLambda(CanonStreamWithLambda<'i>)
Trait Implementations§
source§impl<'i> Clone for ApArgument<'i>
impl<'i> Clone for ApArgument<'i>
source§fn clone(&self) -> ApArgument<'i>
fn clone(&self) -> ApArgument<'i>
Returns a copy 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<'i> Debug for ApArgument<'i>
impl<'i> Debug for ApArgument<'i>
source§impl<'de: 'i, 'i> Deserialize<'de> for ApArgument<'i>
impl<'de: 'i, 'i> Deserialize<'de> for ApArgument<'i>
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 Display for ApArgument<'_>
impl Display for ApArgument<'_>
source§impl<'i> PartialEq<ApArgument<'i>> for ApArgument<'i>
impl<'i> PartialEq<ApArgument<'i>> for ApArgument<'i>
source§fn eq(&self, other: &ApArgument<'i>) -> bool
fn eq(&self, other: &ApArgument<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.