pub struct Corresponding {
pub corresponding: bool,
pub column_list: Option<Vec<Ident>>,
}
Expand description
CORRESPONDING [ BY <left paren> <corresponding column list> <right paren> ]
Fields§
§corresponding: bool
§column_list: Option<Vec<Ident>>
Implementations§
source§impl Corresponding
impl Corresponding
pub fn with_column_list(column_list: Option<Vec<Ident>>) -> Self
pub fn none() -> Self
pub fn is_corresponding(&self) -> bool
pub fn column_list(&self) -> Option<&[Ident]>
Trait Implementations§
source§impl Clone for Corresponding
impl Clone for Corresponding
source§fn clone(&self) -> Corresponding
fn clone(&self) -> Corresponding
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 Corresponding
impl Debug for Corresponding
source§impl Display for Corresponding
impl Display for Corresponding
source§impl Hash for Corresponding
impl Hash for Corresponding
source§impl PartialEq for Corresponding
impl PartialEq for Corresponding
impl Eq for Corresponding
impl StructuralPartialEq for Corresponding
Auto Trait Implementations§
impl Freeze for Corresponding
impl RefUnwindSafe for Corresponding
impl Send for Corresponding
impl Sync for Corresponding
impl Unpin for Corresponding
impl UnwindSafe for Corresponding
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§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
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more