pub enum DeallocateTarget {
All,
Name(String),
}Expand description
Target of a DEALLOCATE.
Variants§
All
DEALLOCATE ALL / DEALLOCATE PREPARE ALL — drop every
prepared statement the client has registered.
Name(String)
DEALLOCATE name / DEALLOCATE PREPARE name — drop a single
named prepared statement. The name is the client-side
identifier from the original Parse; halephant must resolve
it to a canonical name before touching the global store.
Lowercased for unquoted identifiers, case-preserved for
"quoted" identifiers, matching PostgreSQL’s rules.
Trait Implementations§
Source§impl Clone for DeallocateTarget
impl Clone for DeallocateTarget
Source§fn clone(&self) -> DeallocateTarget
fn clone(&self) -> DeallocateTarget
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 DeallocateTarget
impl Debug for DeallocateTarget
Source§impl PartialEq for DeallocateTarget
impl PartialEq for DeallocateTarget
impl Eq for DeallocateTarget
impl StructuralPartialEq for DeallocateTarget
Auto Trait Implementations§
impl Freeze for DeallocateTarget
impl RefUnwindSafe for DeallocateTarget
impl Send for DeallocateTarget
impl Sync for DeallocateTarget
impl Unpin for DeallocateTarget
impl UnsafeUnpin for DeallocateTarget
impl UnwindSafe for DeallocateTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.