#[non_exhaustive]pub struct NameMappingKey {
pub type: Type,
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 source 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.type: TypeThe type of object that is being mapped.
database: StringThe database name (BigQuery project ID equivalent in the source data warehouse).
schema: StringThe schema name (BigQuery dataset equivalent in the source data warehouse).
relation: StringThe relation name (BigQuery table or view equivalent in the source data warehouse).
attribute: StringThe attribute name (BigQuery column equivalent in the source data warehouse).
Implementations§
Trait Implementations§
Source§impl Clone for NameMappingKey
impl Clone for NameMappingKey
Source§fn clone(&self) -> NameMappingKey
fn clone(&self) -> NameMappingKey
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 NameMappingKey
impl Debug for NameMappingKey
Source§impl Default for NameMappingKey
impl Default for NameMappingKey
Source§fn default() -> NameMappingKey
fn default() -> NameMappingKey
Returns the “default value” for a type. Read more
Source§impl Message for NameMappingKey
impl Message for NameMappingKey
Source§impl PartialEq for NameMappingKey
impl PartialEq for NameMappingKey
impl StructuralPartialEq for NameMappingKey
Auto Trait Implementations§
impl Freeze for NameMappingKey
impl RefUnwindSafe for NameMappingKey
impl Send for NameMappingKey
impl Sync for NameMappingKey
impl Unpin for NameMappingKey
impl UnwindSafe for NameMappingKey
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