pub struct WithData {
pub data: bool,
pub statistics: Option<bool>,
}Expand description
WITH DATA clause on CREATE TABLE ... AS statement.
Fields§
§data: booltrue for WITH DATA, false for WITH NO DATA.
statistics: Option<bool>Some(true) for AND STATISTICS, Some(false) for AND NO STATISTICS,
None if the AND [NO] STATISTICS sub-clause is omitted.
Trait Implementations§
impl Copy for WithData
Source§impl<'de> Deserialize<'de> for WithData
impl<'de> Deserialize<'de> for WithData
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
impl Eq for WithData
Source§impl Ord for WithData
impl Ord for WithData
1.21.0 (const: unstable) · 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 PartialOrd for WithData
impl PartialOrd for WithData
impl StructuralPartialEq for WithData
Source§impl VisitMut for WithData
impl VisitMut for WithData
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreAuto Trait Implementations§
impl Freeze for WithData
impl RefUnwindSafe for WithData
impl Send for WithData
impl Sync for WithData
impl Unpin for WithData
impl UnsafeUnpin for WithData
impl UnwindSafe for WithData
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