pub struct TablespaceOption {
pub name: String,
pub storage: Option<StorageType>,
}Expand description
MySql TableSpace option https://dev.mysql.com/doc/refman/8.4/en/create-table.html
Fields§
§name: StringName of the tablespace.
storage: Option<StorageType>Optional storage type for the tablespace.
Trait Implementations§
Source§impl Clone for TablespaceOption
impl Clone for TablespaceOption
Source§fn clone(&self) -> TablespaceOption
fn clone(&self) -> TablespaceOption
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 TablespaceOption
impl Debug for TablespaceOption
Source§impl Hash for TablespaceOption
impl Hash for TablespaceOption
Source§impl Ord for TablespaceOption
impl Ord for TablespaceOption
Source§fn cmp(&self, other: &TablespaceOption) -> Ordering
fn cmp(&self, other: &TablespaceOption) -> 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 TablespaceOption
impl PartialEq for TablespaceOption
Source§impl PartialOrd for TablespaceOption
impl PartialOrd for TablespaceOption
Source§impl Visit for TablespaceOption
impl Visit for TablespaceOption
Source§impl VisitMut for TablespaceOption
impl VisitMut for TablespaceOption
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 moreimpl Eq for TablespaceOption
impl StructuralPartialEq for TablespaceOption
Auto Trait Implementations§
impl Freeze for TablespaceOption
impl RefUnwindSafe for TablespaceOption
impl Send for TablespaceOption
impl Sync for TablespaceOption
impl Unpin for TablespaceOption
impl UnsafeUnpin for TablespaceOption
impl UnwindSafe for TablespaceOption
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