pub struct TiDBTableOption {
pub kind: TiDBTableOptionKind,
pub executable_comment: bool,
}Expand description
A TiDB-specific table option and its source syntax.
Fields§
§kind: TiDBTableOptionKind§executable_comment: boolWhether the option was wrapped in a TiDB executable comment.
Trait Implementations§
Source§impl Clone for TiDBTableOption
impl Clone for TiDBTableOption
Source§fn clone(&self) -> TiDBTableOption
fn clone(&self) -> TiDBTableOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TiDBTableOption
impl Debug for TiDBTableOption
Source§impl<'de> Deserialize<'de> for TiDBTableOption
impl<'de> Deserialize<'de> for TiDBTableOption
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 PartialEq for TiDBTableOption
impl PartialEq for TiDBTableOption
Source§impl Serialize for TiDBTableOption
impl Serialize for TiDBTableOption
impl StructuralPartialEq for TiDBTableOption
Auto Trait Implementations§
impl Freeze for TiDBTableOption
impl RefUnwindSafe for TiDBTableOption
impl Send for TiDBTableOption
impl Sync for TiDBTableOption
impl Unpin for TiDBTableOption
impl UnsafeUnpin for TiDBTableOption
impl UnwindSafe for TiDBTableOption
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