pub struct PersistentTransformationQuery {
pub condition: String,
pub substitution: String,
}Expand description
A trigger query split into its condition and substitution halves.
Both halves are re-formatted from the parse tree rather than kept as raw
input, so two spellings of the same query (((1: 1 1)) ((1: 1 2)) and
(((1: 1 1)) ((1: 1 2)))) normalise to the same stored text and therefore
to the same trigger.
Fields§
§condition: String§substitution: StringImplementations§
Trait Implementations§
Source§impl Clone for PersistentTransformationQuery
impl Clone for PersistentTransformationQuery
Source§fn clone(&self) -> PersistentTransformationQuery
fn clone(&self) -> PersistentTransformationQuery
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 moreimpl Eq for PersistentTransformationQuery
impl StructuralPartialEq for PersistentTransformationQuery
Auto Trait Implementations§
impl Freeze for PersistentTransformationQuery
impl RefUnwindSafe for PersistentTransformationQuery
impl Send for PersistentTransformationQuery
impl Sync for PersistentTransformationQuery
impl Unpin for PersistentTransformationQuery
impl UnsafeUnpin for PersistentTransformationQuery
impl UnwindSafe for PersistentTransformationQuery
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