Enum air_parser::ast::ApArgument
source · pub enum ApArgument<'i> {
Show 15 variants
InitPeerId,
Timestamp,
TTL,
Error(InstructionErrorAST<'i>),
LastError(Option<LambdaAST<'i>>),
Literal(JsonString),
Number(Number),
Boolean(bool),
EmptyArray,
Scalar(Scalar<'i>),
ScalarWithLambda(ScalarWithLambda<'i>),
CanonStream(CanonStream<'i>),
CanonStreamMap(CanonStreamMap<'i>),
CanonStreamWithLambda(CanonStreamWithLambda<'i>),
CanonStreamMapWithLambda(CanonStreamMapWithLambda<'i>),
}
Variants§
InitPeerId
Timestamp
TTL
Error(InstructionErrorAST<'i>)
LastError(Option<LambdaAST<'i>>)
Literal(JsonString)
Number(Number)
Boolean(bool)
EmptyArray
Scalar(Scalar<'i>)
ScalarWithLambda(ScalarWithLambda<'i>)
CanonStream(CanonStream<'i>)
CanonStreamMap(CanonStreamMap<'i>)
CanonStreamWithLambda(CanonStreamWithLambda<'i>)
CanonStreamMapWithLambda(CanonStreamMapWithLambda<'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 for ApArgument<'i>
impl<'i> PartialEq 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 ==
.source§impl<'i> Serialize for ApArgument<'i>
impl<'i> Serialize for ApArgument<'i>
impl<'i> StructuralPartialEq for ApArgument<'i>
Auto Trait Implementations§
impl<'i> Freeze for ApArgument<'i>
impl<'i> RefUnwindSafe for ApArgument<'i>
impl<'i> !Send for ApArgument<'i>
impl<'i> !Sync for ApArgument<'i>
impl<'i> Unpin for ApArgument<'i>
impl<'i> UnwindSafe for ApArgument<'i>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)