#[non_exhaustive]pub struct NameMappingValue {
pub database: String,
pub schema: String,
pub relation: String,
pub attribute: String,
/* private fields */
}Expand description
The potential components of a full name mapping that will be mapped during translation in the target data warehouse.
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.database: StringThe database name (BigQuery project ID equivalent in the target data warehouse).
schema: StringThe schema name (BigQuery dataset equivalent in the target data warehouse).
relation: StringThe relation name (BigQuery table or view equivalent in the target data warehouse).
attribute: StringThe attribute name (BigQuery column equivalent in the target data warehouse).
Implementations§
Source§impl NameMappingValue
impl NameMappingValue
pub fn new() -> Self
Sourcepub fn set_database<T: Into<String>>(self, v: T) -> Self
pub fn set_database<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_schema<T: Into<String>>(self, v: T) -> Self
pub fn set_schema<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_relation<T: Into<String>>(self, v: T) -> Self
pub fn set_relation<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for NameMappingValue
impl Clone for NameMappingValue
Source§fn clone(&self) -> NameMappingValue
fn clone(&self) -> NameMappingValue
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 NameMappingValue
impl Debug for NameMappingValue
Source§impl Default for NameMappingValue
impl Default for NameMappingValue
Source§fn default() -> NameMappingValue
fn default() -> NameMappingValue
Returns the “default value” for a type. Read more
Source§impl Message for NameMappingValue
impl Message for NameMappingValue
Source§impl PartialEq for NameMappingValue
impl PartialEq for NameMappingValue
impl StructuralPartialEq for NameMappingValue
Auto Trait Implementations§
impl Freeze for NameMappingValue
impl RefUnwindSafe for NameMappingValue
impl Send for NameMappingValue
impl Sync for NameMappingValue
impl Unpin for NameMappingValue
impl UnwindSafe for NameMappingValue
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