pub enum SubqueryCorrelatedTracker<'a> {
Active(&'a mut SubqueryCorrelatedColumnTracker),
Inactive,
}Expand description
Optional wrapper used when correlated tracking is conditional.
Variants§
Active(&'a mut SubqueryCorrelatedColumnTracker)
Inactive
Implementations§
Sourcepub fn from_option(
tracker: Option<&'a mut SubqueryCorrelatedColumnTracker>,
) -> Self
pub fn from_option( tracker: Option<&'a mut SubqueryCorrelatedColumnTracker>, ) -> Self
Create a tracker wrapper from an optional mutable reference.
Sourcepub fn placeholder_for_column_path(
&mut self,
column: &str,
field_path: &[String],
) -> Option<String>
pub fn placeholder_for_column_path( &mut self, column: &str, field_path: &[String], ) -> Option<String>
Return a placeholder for the provided column path when tracking is active.
Sourcepub fn reborrow(&mut self) -> SubqueryCorrelatedTracker<'_>
pub fn reborrow(&mut self) -> SubqueryCorrelatedTracker<'_>
Reborrow the tracker, preserving the active/inactive state.
Auto Trait Implementations§
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