pub struct DeferredTextExpression {
pub template: String,
pub field: String,
pub value: String,
pub negated: bool,
pub operators: (&'static str, &'static str),
}Expand description
Simple template-based deferred expression (covers most text-backend cases).
Fields§
§template: String§field: String§value: String§negated: bool§operators: (&'static str, &'static str)(positive_op, negated_op) substituted into {op} in the template.
Trait Implementations§
Source§impl Clone for DeferredTextExpression
impl Clone for DeferredTextExpression
Source§fn clone(&self) -> DeferredTextExpression
fn clone(&self) -> DeferredTextExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeferredTextExpression
impl Debug for DeferredTextExpression
Auto Trait Implementations§
impl Freeze for DeferredTextExpression
impl RefUnwindSafe for DeferredTextExpression
impl Send for DeferredTextExpression
impl Sync for DeferredTextExpression
impl Unpin for DeferredTextExpression
impl UnsafeUnpin for DeferredTextExpression
impl UnwindSafe for DeferredTextExpression
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