pub struct SnowflakeConfig {
pub account_identifier: String,
pub db_name: Option<String>,
pub private_key: String,
pub schema_name: Option<String>,
pub table_name: Option<String>,
pub user_id: String,
}
Expand description
SnowflakeConfig : Configuration parameters for defining a Snowflake sink.
Fields§
§account_identifier: String
Snowflake account identifier, which includes both the organization and account IDs separated by a hyphen.
db_name: Option<String>
Database name. Only required if not using transformations.
private_key: String
PEM-encoded private key used for signing token-based requests to the Snowflake API. Beginning/end delimiters are not required.
schema_name: Option<String>
Schema name. Only required if not using transformations.
table_name: Option<String>
Table name. Only required if not using transformations.
user_id: String
The Snowflake user id.
Implementations§
Trait Implementations§
Source§impl Clone for SnowflakeConfig
impl Clone for SnowflakeConfig
Source§fn clone(&self) -> SnowflakeConfig
fn clone(&self) -> SnowflakeConfig
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 SnowflakeConfig
impl Debug for SnowflakeConfig
Source§impl Default for SnowflakeConfig
impl Default for SnowflakeConfig
Source§fn default() -> SnowflakeConfig
fn default() -> SnowflakeConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnowflakeConfig
impl<'de> Deserialize<'de> for SnowflakeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnowflakeConfig
impl PartialEq for SnowflakeConfig
Source§impl Serialize for SnowflakeConfig
impl Serialize for SnowflakeConfig
impl StructuralPartialEq for SnowflakeConfig
Auto Trait Implementations§
impl Freeze for SnowflakeConfig
impl RefUnwindSafe for SnowflakeConfig
impl Send for SnowflakeConfig
impl Sync for SnowflakeConfig
impl Unpin for SnowflakeConfig
impl UnwindSafe for SnowflakeConfig
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