pub struct ClientConfig {
pub base_url: Option<String>,
pub connection_string: Option<String>,
pub protocol: Option<Protocol>,
pub api_key: Option<String>,
pub timeout_secs: Option<u64>,
pub hosts: Option<HostConfig>,
pub read_preference: Option<ReadPreference>,
}Expand description
Configuration for VectorizerClient.
Fields§
§base_url: Option<String>Base URL for HTTP transport (single-node deployments).
connection_string: Option<String>Connection string (supports http://, https://, umicp://).
protocol: Option<Protocol>Protocol to use.
api_key: Option<String>API key for authentication.
timeout_secs: Option<u64>Request timeout in seconds.
hosts: Option<HostConfig>Master/replica host configuration for read/write routing.
read_preference: Option<ReadPreference>Default read preference for read operations.
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 moreAuto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request