pub enum RuntimeExpressionOrValue {
RuntimeExpression(Str),
LiteralValue(Value),
}
Expand description
Runtime expression or literal value. Used for Link parameters
and request_body
.
Variants§
Trait Implementations§
Source§impl Clone for RuntimeExpressionOrValue
impl Clone for RuntimeExpressionOrValue
Source§fn clone(&self) -> RuntimeExpressionOrValue
fn clone(&self) -> RuntimeExpressionOrValue
Returns a duplicate 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 Debug for RuntimeExpressionOrValue
impl Debug for RuntimeExpressionOrValue
Source§impl<'de> Deserialize<'de> for RuntimeExpressionOrValue
impl<'de> Deserialize<'de> for RuntimeExpressionOrValue
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 PartialEq for RuntimeExpressionOrValue
impl PartialEq for RuntimeExpressionOrValue
Source§impl Serialize for RuntimeExpressionOrValue
impl Serialize for RuntimeExpressionOrValue
impl StructuralPartialEq for RuntimeExpressionOrValue
Auto Trait Implementations§
impl Freeze for RuntimeExpressionOrValue
impl RefUnwindSafe for RuntimeExpressionOrValue
impl Send for RuntimeExpressionOrValue
impl Sync for RuntimeExpressionOrValue
impl Unpin for RuntimeExpressionOrValue
impl UnwindSafe for RuntimeExpressionOrValue
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