pub struct PreparedQuery { /* private fields */ }Expand description
Query prepared for repeated matching.
Implementations§
Source§impl PreparedQuery
impl PreparedQuery
Sourcepub fn new_case_sensitive(query: &str) -> Self
pub fn new_case_sensitive(query: &str) -> Self
Prepare a case-sensitive query.
Sourcepub fn is_case_sensitive(&self) -> bool
pub fn is_case_sensitive(&self) -> bool
Return whether the prepared query uses case-sensitive matching.
Trait Implementations§
Source§impl Clone for PreparedQuery
impl Clone for PreparedQuery
Source§fn clone(&self) -> PreparedQuery
fn clone(&self) -> PreparedQuery
Returns a duplicate 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 PreparedQuery
impl Debug for PreparedQuery
Source§impl PartialEq for PreparedQuery
impl PartialEq for PreparedQuery
impl Eq for PreparedQuery
impl StructuralPartialEq for PreparedQuery
Auto Trait Implementations§
impl Freeze for PreparedQuery
impl RefUnwindSafe for PreparedQuery
impl Send for PreparedQuery
impl Sync for PreparedQuery
impl Unpin for PreparedQuery
impl UnsafeUnpin for PreparedQuery
impl UnwindSafe for PreparedQuery
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