#[non_exhaustive]pub struct WorkspaceCompilationOverrides {
pub default_database: String,
pub schema_suffix: String,
pub table_prefix: String,
/* private fields */
}Expand description
Configures workspace compilation overrides for a repository.
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.default_database: StringOptional. The default database (Google Cloud project ID).
schema_suffix: StringOptional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
table_prefix: StringOptional. The prefix that should be prepended to all table names.
Implementations§
Source§impl WorkspaceCompilationOverrides
impl WorkspaceCompilationOverrides
pub fn new() -> Self
Sourcepub fn set_default_database<T: Into<String>>(self, v: T) -> Self
pub fn set_default_database<T: Into<String>>(self, v: T) -> Self
Sets the value of default_database.
Sourcepub fn set_schema_suffix<T: Into<String>>(self, v: T) -> Self
pub fn set_schema_suffix<T: Into<String>>(self, v: T) -> Self
Sets the value of schema_suffix.
Sourcepub fn set_table_prefix<T: Into<String>>(self, v: T) -> Self
pub fn set_table_prefix<T: Into<String>>(self, v: T) -> Self
Sets the value of table_prefix.
Trait Implementations§
Source§impl Clone for WorkspaceCompilationOverrides
impl Clone for WorkspaceCompilationOverrides
Source§fn clone(&self) -> WorkspaceCompilationOverrides
fn clone(&self) -> WorkspaceCompilationOverrides
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 Default for WorkspaceCompilationOverrides
impl Default for WorkspaceCompilationOverrides
Source§fn default() -> WorkspaceCompilationOverrides
fn default() -> WorkspaceCompilationOverrides
Returns the “default value” for a type. Read more
Source§impl PartialEq for WorkspaceCompilationOverrides
impl PartialEq for WorkspaceCompilationOverrides
Source§fn eq(&self, other: &WorkspaceCompilationOverrides) -> bool
fn eq(&self, other: &WorkspaceCompilationOverrides) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkspaceCompilationOverrides
Auto Trait Implementations§
impl Freeze for WorkspaceCompilationOverrides
impl RefUnwindSafe for WorkspaceCompilationOverrides
impl Send for WorkspaceCompilationOverrides
impl Sync for WorkspaceCompilationOverrides
impl Unpin for WorkspaceCompilationOverrides
impl UnwindSafe for WorkspaceCompilationOverrides
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