#[non_exhaustive]pub struct SchemaEntity {
pub custom_features: Option<Struct>,
/* private fields */
}Expand description
Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which support it). For some database engines, the terms schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.custom_features: Option<Struct>Custom engine specific features.
Implementations§
Source§impl SchemaEntity
impl SchemaEntity
pub fn new() -> Self
Sourcepub fn set_custom_features<T>(self, v: T) -> Self
pub fn set_custom_features<T>(self, v: T) -> Self
Sets the value of custom_features.
Sourcepub fn set_or_clear_custom_features<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_custom_features<T>(self, v: Option<T>) -> Self
Sets or clears the value of custom_features.
Trait Implementations§
Source§impl Clone for SchemaEntity
impl Clone for SchemaEntity
Source§fn clone(&self) -> SchemaEntity
fn clone(&self) -> SchemaEntity
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 SchemaEntity
impl Debug for SchemaEntity
Source§impl Default for SchemaEntity
impl Default for SchemaEntity
Source§fn default() -> SchemaEntity
fn default() -> SchemaEntity
Returns the “default value” for a type. Read more
Source§impl Message for SchemaEntity
impl Message for SchemaEntity
Source§impl PartialEq for SchemaEntity
impl PartialEq for SchemaEntity
impl StructuralPartialEq for SchemaEntity
Auto Trait Implementations§
impl Freeze for SchemaEntity
impl RefUnwindSafe for SchemaEntity
impl Send for SchemaEntity
impl Sync for SchemaEntity
impl Unpin for SchemaEntity
impl UnwindSafe for SchemaEntity
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