pub struct RuntimeExpression(pub String);
Expand description
Runtime expressions allow the user to define an expression which will evaluate to a string once the desired value(s) are known.
They are used when the desired value of a link or server can only be constructed at
run time. This mechanism is used by Link
objects and ServerVariable
s.
This runtime expression makes use of JSON template strings.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Clone for RuntimeExpression
impl Clone for RuntimeExpression
Source§fn clone(&self) -> RuntimeExpression
fn clone(&self) -> RuntimeExpression
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 RuntimeExpression
impl Debug for RuntimeExpression
Source§impl<'de> Deserialize<'de> for RuntimeExpression
impl<'de> Deserialize<'de> for RuntimeExpression
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
Auto Trait Implementations§
impl Freeze for RuntimeExpression
impl RefUnwindSafe for RuntimeExpression
impl Send for RuntimeExpression
impl Sync for RuntimeExpression
impl Unpin for RuntimeExpression
impl UnwindSafe for RuntimeExpression
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