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