pub struct FlightClientConfig {
pub endpoint: String,
pub table_name: Option<String>,
pub setup_commands: Option<Vec<String>>,
}Expand description
Apache Arrow Flight SQL client configuration.
Configures the target endpoint for Flight SQL queries.
Fields§
§endpoint: StringTarget Flight SQL endpoint URL (e.g., “http://localhost:32010”).
table_name: Option<String>Destination table name for insertions.
setup_commands: Option<Vec<String>>SQL commands to execute upon connecting (e.g., SET proxy = ‘my-proxy’).
Trait Implementations§
Source§impl Clone for FlightClientConfig
impl Clone for FlightClientConfig
Source§fn clone(&self) -> FlightClientConfig
fn clone(&self) -> FlightClientConfig
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 FlightClientConfig
impl Debug for FlightClientConfig
Source§impl<'de> Deserialize<'de> for FlightClientConfig
impl<'de> Deserialize<'de> for FlightClientConfig
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 HasFieldsMetadata for FlightClientConfig
impl HasFieldsMetadata for FlightClientConfig
Source§fn fields_metadata() -> Vec<FieldMetadata>
fn fields_metadata() -> Vec<FieldMetadata>
Returns a list of metadata for all fields in the struct.
Source§impl PartialEq for FlightClientConfig
impl PartialEq for FlightClientConfig
Source§impl Serialize for FlightClientConfig
impl Serialize for FlightClientConfig
impl StructuralPartialEq for FlightClientConfig
Auto Trait Implementations§
impl Freeze for FlightClientConfig
impl RefUnwindSafe for FlightClientConfig
impl Send for FlightClientConfig
impl Sync for FlightClientConfig
impl Unpin for FlightClientConfig
impl UnsafeUnpin for FlightClientConfig
impl UnwindSafe for FlightClientConfig
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