Enum sqlparser::ast::FlushLocation
source · pub enum FlushLocation {
NoWriteToBinlog,
Local,
}
Variants§
Trait Implementations§
source§impl Clone for FlushLocation
impl Clone for FlushLocation
source§fn clone(&self) -> FlushLocation
fn clone(&self) -> FlushLocation
Returns a copy 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 FlushLocation
impl Debug for FlushLocation
source§impl<'de> Deserialize<'de> for FlushLocation
impl<'de> Deserialize<'de> for FlushLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for FlushLocation
impl Display for FlushLocation
source§impl Hash for FlushLocation
impl Hash for FlushLocation
source§impl Ord for FlushLocation
impl Ord for FlushLocation
source§fn cmp(&self, other: &FlushLocation) -> Ordering
fn cmp(&self, other: &FlushLocation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FlushLocation
impl PartialEq for FlushLocation
source§fn eq(&self, other: &FlushLocation) -> bool
fn eq(&self, other: &FlushLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FlushLocation
impl PartialOrd for FlushLocation
source§fn partial_cmp(&self, other: &FlushLocation) -> Option<Ordering>
fn partial_cmp(&self, other: &FlushLocation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FlushLocation
impl Serialize for FlushLocation
source§impl Visit for FlushLocation
impl Visit for FlushLocation
source§impl VisitMut for FlushLocation
impl VisitMut for FlushLocation
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Copy for FlushLocation
impl Eq for FlushLocation
impl StructuralPartialEq for FlushLocation
Auto Trait Implementations§
impl Freeze for FlushLocation
impl RefUnwindSafe for FlushLocation
impl Send for FlushLocation
impl Sync for FlushLocation
impl Unpin for FlushLocation
impl UnwindSafe for FlushLocation
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)