pub struct ChalkClientConfig {
pub client_id: String,
pub client_secret: String,
pub api_server: String,
pub environment: Option<String>,
pub branch_id: Option<String>,
pub deployment_tag: Option<String>,
pub query_server: Option<String>,
}Expand description
Holds all resolved configuration needed to connect to Chalk.
You don’t construct this directly — use ChalkClientConfigBuilder.
Fields§
§client_id: StringOAuth2 client ID (required).
client_secret: StringOAuth2 client secret (required).
api_server: StringThe API server URL (e.g. https://api.chalk.ai).
environment: Option<String>The target environment (e.g. "production" or an environment ID).
branch_id: Option<String>A branch ID for branch deployments.
deployment_tag: Option<String>A deployment tag for routing to specific deployments.
query_server: Option<String>Override for the query server URL.
Trait Implementations§
Source§impl Clone for ChalkClientConfig
impl Clone for ChalkClientConfig
Source§fn clone(&self) -> ChalkClientConfig
fn clone(&self) -> ChalkClientConfig
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 ChalkClientConfig
impl RefUnwindSafe for ChalkClientConfig
impl Send for ChalkClientConfig
impl Sync for ChalkClientConfig
impl Unpin for ChalkClientConfig
impl UnsafeUnpin for ChalkClientConfig
impl UnwindSafe for ChalkClientConfig
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