pub struct ExpressionEvaluationOptions {
pub scope: Option<Scope>,
}
Expand description
Specifies whether template expressions are evaluated within the scope of the parent template or nested template.
Fields§
§scope: Option<Scope>
The scope to be used for evaluation of parameters, variables and functions in a nested template.
Implementations§
Trait Implementations§
source§impl Clone for ExpressionEvaluationOptions
impl Clone for ExpressionEvaluationOptions
source§fn clone(&self) -> ExpressionEvaluationOptions
fn clone(&self) -> ExpressionEvaluationOptions
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 Debug for ExpressionEvaluationOptions
impl Debug for ExpressionEvaluationOptions
source§impl Default for ExpressionEvaluationOptions
impl Default for ExpressionEvaluationOptions
source§fn default() -> ExpressionEvaluationOptions
fn default() -> ExpressionEvaluationOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExpressionEvaluationOptions
impl<'de> Deserialize<'de> for ExpressionEvaluationOptions
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 ExpressionEvaluationOptions
impl PartialEq for ExpressionEvaluationOptions
source§fn eq(&self, other: &ExpressionEvaluationOptions) -> bool
fn eq(&self, other: &ExpressionEvaluationOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpressionEvaluationOptions
Auto Trait Implementations§
impl Freeze for ExpressionEvaluationOptions
impl RefUnwindSafe for ExpressionEvaluationOptions
impl Send for ExpressionEvaluationOptions
impl Sync for ExpressionEvaluationOptions
impl Unpin for ExpressionEvaluationOptions
impl UnwindSafe for ExpressionEvaluationOptions
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