pub struct SnowflakeAttributes {
pub account: String,
pub host: String,
pub port: i32,
pub protocol: String,
pub database: String,
pub schema: String,
pub warehouse: String,
pub username: String,
pub password: String,
pub max_retry: i32,
pub retry_interval_sec: i32,
pub table_name: Option<String>,
}Expand description
Configuration for delivering stream batches to a Snowflake data warehouse.
Fields§
§account: StringSnowflake account identifier.
host: StringSnowflake host.
port: i32Snowflake port.
protocol: StringConnection protocol (e.g. https).
database: StringDatabase name.
schema: StringSchema within the database.
warehouse: StringWarehouse used to run inserts.
username: StringUsername used to authenticate.
password: StringPassword used to authenticate.
max_retry: i32Maximum number of retry attempts for a failed write.
retry_interval_sec: i32Seconds to wait between retry attempts.
table_name: Option<String>Optional destination table for inserted rows.
Trait Implementations§
Source§impl Clone for SnowflakeAttributes
impl Clone for SnowflakeAttributes
Source§fn clone(&self) -> SnowflakeAttributes
fn clone(&self) -> SnowflakeAttributes
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 SnowflakeAttributes
impl Debug for SnowflakeAttributes
Source§impl<'de> Deserialize<'de> for SnowflakeAttributes
impl<'de> Deserialize<'de> for SnowflakeAttributes
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
Auto Trait Implementations§
impl Freeze for SnowflakeAttributes
impl RefUnwindSafe for SnowflakeAttributes
impl Send for SnowflakeAttributes
impl Sync for SnowflakeAttributes
impl Unpin for SnowflakeAttributes
impl UnsafeUnpin for SnowflakeAttributes
impl UnwindSafe for SnowflakeAttributes
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