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§
impl Eq for PersistentTransformationQuery
impl StructuralPartialEq for PersistentTransformationQuery
Auto Trait Implementations§
impl Forget for PersistentTransformationQuery
impl Freeze for PersistentTransformationQuery
impl Move for PersistentTransformationQuery
impl RefUnwindSafe for PersistentTransformationQuery
impl Send for PersistentTransformationQuerywhere
RawVecInner: Send,
impl Sync for PersistentTransformationQuerywhere
RawVecInner: Sync,
impl Unpin for PersistentTransformationQuery
impl UnsafeUnpin for PersistentTransformationQuery
impl UnwindSafe for PersistentTransformationQuerywhere
RawVecInner: UnwindSafe,
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