#[non_exhaustive]pub struct PostgresqlTable {
pub table: String,
pub postgresql_columns: Vec<PostgresqlColumn>,
/* private fields */
}
Expand description
PostgreSQL table.
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.table: String
Table name.
postgresql_columns: Vec<PostgresqlColumn>
PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
Implementations§
Source§impl PostgresqlTable
impl PostgresqlTable
pub fn new() -> Self
Sourcepub fn set_postgresql_columns<T, V>(self, v: T) -> Self
pub fn set_postgresql_columns<T, V>(self, v: T) -> Self
Sets the value of postgresql_columns.
Trait Implementations§
Source§impl Clone for PostgresqlTable
impl Clone for PostgresqlTable
Source§fn clone(&self) -> PostgresqlTable
fn clone(&self) -> PostgresqlTable
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 PostgresqlTable
impl Debug for PostgresqlTable
Source§impl Default for PostgresqlTable
impl Default for PostgresqlTable
Source§fn default() -> PostgresqlTable
fn default() -> PostgresqlTable
Returns the “default value” for a type. Read more
Source§impl Message for PostgresqlTable
impl Message for PostgresqlTable
Source§impl PartialEq for PostgresqlTable
impl PartialEq for PostgresqlTable
impl StructuralPartialEq for PostgresqlTable
Auto Trait Implementations§
impl Freeze for PostgresqlTable
impl RefUnwindSafe for PostgresqlTable
impl Send for PostgresqlTable
impl Sync for PostgresqlTable
impl Unpin for PostgresqlTable
impl UnwindSafe for PostgresqlTable
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