#[non_exhaustive]pub struct SqlServerSchema {
pub schema: String,
pub tables: Vec<SqlServerTable>,
/* private fields */
}
Expand description
SQLServer schema.
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.schema: String
Schema name.
tables: Vec<SqlServerTable>
Tables in the schema.
Implementations§
Source§impl SqlServerSchema
impl SqlServerSchema
pub fn new() -> Self
Sourcepub fn set_schema<T: Into<String>>(self, v: T) -> Self
pub fn set_schema<T: Into<String>>(self, v: T) -> Self
Sets the value of schema.
Sourcepub fn set_tables<T, V>(self, v: T) -> Self
pub fn set_tables<T, V>(self, v: T) -> Self
Sets the value of tables.
Trait Implementations§
Source§impl Clone for SqlServerSchema
impl Clone for SqlServerSchema
Source§fn clone(&self) -> SqlServerSchema
fn clone(&self) -> SqlServerSchema
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 SqlServerSchema
impl Debug for SqlServerSchema
Source§impl Default for SqlServerSchema
impl Default for SqlServerSchema
Source§fn default() -> SqlServerSchema
fn default() -> SqlServerSchema
Returns the “default value” for a type. Read more
Source§impl Message for SqlServerSchema
impl Message for SqlServerSchema
Source§impl PartialEq for SqlServerSchema
impl PartialEq for SqlServerSchema
impl StructuralPartialEq for SqlServerSchema
Auto Trait Implementations§
impl Freeze for SqlServerSchema
impl RefUnwindSafe for SqlServerSchema
impl Send for SqlServerSchema
impl Sync for SqlServerSchema
impl Unpin for SqlServerSchema
impl UnwindSafe for SqlServerSchema
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