pub enum XmlTableColumnOption {
NamedInfo {
type: DataType,
path: Option<Expr>,
default: Option<Expr>,
nullable: bool,
},
ForOrdinality,
}Expand description
Defines the options for an XmlTable column: Named or ForOrdinality
Variants§
NamedInfo
A named column with a type, optional path, and default value.
Fields
ForOrdinality
The FOR ORDINALITY marker
Trait Implementations§
Source§impl Clone for XmlTableColumnOption
impl Clone for XmlTableColumnOption
Source§fn clone(&self) -> XmlTableColumnOption
fn clone(&self) -> XmlTableColumnOption
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 XmlTableColumnOption
impl Debug for XmlTableColumnOption
Source§impl<'de> Deserialize<'de> for XmlTableColumnOption
impl<'de> Deserialize<'de> for XmlTableColumnOption
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 Hash for XmlTableColumnOption
impl Hash for XmlTableColumnOption
Source§impl Ord for XmlTableColumnOption
impl Ord for XmlTableColumnOption
Source§fn cmp(&self, other: &XmlTableColumnOption) -> Ordering
fn cmp(&self, other: &XmlTableColumnOption) -> 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 XmlTableColumnOption
impl PartialEq for XmlTableColumnOption
Source§impl PartialOrd for XmlTableColumnOption
impl PartialOrd for XmlTableColumnOption
Source§impl Serialize for XmlTableColumnOption
impl Serialize for XmlTableColumnOption
Source§impl Visit for XmlTableColumnOption
impl Visit for XmlTableColumnOption
Source§impl VisitMut for XmlTableColumnOption
impl VisitMut for XmlTableColumnOption
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for XmlTableColumnOption
impl StructuralPartialEq for XmlTableColumnOption
Auto Trait Implementations§
impl Freeze for XmlTableColumnOption
impl RefUnwindSafe for XmlTableColumnOption
impl Send for XmlTableColumnOption
impl Sync for XmlTableColumnOption
impl Unpin for XmlTableColumnOption
impl UnwindSafe for XmlTableColumnOption
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