pub enum ResolvableToStringVariable<'i> {
Literal(&'i str),
Scalar(Scalar<'i>),
ScalarWithLambda(ScalarWithLambda<'i>),
CanonStreamWithLambda(CanonStreamWithLambda<'i>),
}
Expand description
Contains all variable variants that could be resolved to a string type.
Variants§
Literal(&'i str)
Scalar(Scalar<'i>)
ScalarWithLambda(ScalarWithLambda<'i>)
CanonStreamWithLambda(CanonStreamWithLambda<'i>)
Trait Implementations§
source§impl<'i> Clone for ResolvableToStringVariable<'i>
impl<'i> Clone for ResolvableToStringVariable<'i>
source§fn clone(&self) -> ResolvableToStringVariable<'i>
fn clone(&self) -> ResolvableToStringVariable<'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 ResolvableToStringVariable<'i>
impl<'i> Debug for ResolvableToStringVariable<'i>
source§impl<'de: 'i, 'i> Deserialize<'de> for ResolvableToStringVariable<'i>
impl<'de: 'i, 'i> Deserialize<'de> for ResolvableToStringVariable<'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 ResolvableToStringVariable<'_>
impl Display for ResolvableToStringVariable<'_>
source§impl<'i> PartialEq<ResolvableToStringVariable<'i>> for ResolvableToStringVariable<'i>
impl<'i> PartialEq<ResolvableToStringVariable<'i>> for ResolvableToStringVariable<'i>
source§fn eq(&self, other: &ResolvableToStringVariable<'i>) -> bool
fn eq(&self, other: &ResolvableToStringVariable<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.