pub struct AgentConnectConfig {
pub gateway_url: String,
pub api_key: Option<String>,
}Expand description
Agent-side connection settings (used by the SDK FFI shims, not the gateway).
gateway_url is the address the SDK calls into. api_key is the
optional bearer token surface for authenticated SaaS deployments;
in local mode it is typically None.
Fields§
§gateway_url: StringWhere the SDK connects. Default: http://localhost:7391.
api_key: Option<String>Optional API key for authenticated control planes.
Trait Implementations§
Source§impl Clone for AgentConnectConfig
impl Clone for AgentConnectConfig
Source§fn clone(&self) -> AgentConnectConfig
fn clone(&self) -> AgentConnectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentConnectConfig
impl Debug for AgentConnectConfig
Source§impl Default for AgentConnectConfig
impl Default for AgentConnectConfig
impl Eq for AgentConnectConfig
Source§impl PartialEq for AgentConnectConfig
impl PartialEq for AgentConnectConfig
Source§fn eq(&self, other: &AgentConnectConfig) -> bool
fn eq(&self, other: &AgentConnectConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentConnectConfig
Auto Trait Implementations§
impl Freeze for AgentConnectConfig
impl RefUnwindSafe for AgentConnectConfig
impl Send for AgentConnectConfig
impl Sync for AgentConnectConfig
impl Unpin for AgentConnectConfig
impl UnsafeUnpin for AgentConnectConfig
impl UnwindSafe for AgentConnectConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.