pub struct ReadyPayload {Show 13 fields
pub machine_name: String,
pub sessions: Vec<SessionRecord>,
pub swarms: Vec<SwarmRecord>,
pub providers: Vec<ProviderStatus>,
pub provider_instances: Vec<ProviderInstance>,
pub default_config: Option<VersionedAgentConfig>,
pub models: Vec<ModelChoice>,
pub model_providers: BTreeMap<String, String>,
pub middleware_features: Vec<MiddlewareFeature>,
pub extensions: Vec<ExtensionRecord>,
pub contributions: Vec<FrontendContribution>,
pub max_active_sessions: usize,
pub session_file_limits: SessionFileLimits,
}Expand description
Gateway-wide frontend-safe state sent after authentication.
Fields§
§machine_name: String§sessions: Vec<SessionRecord>§swarms: Vec<SwarmRecord>§providers: Vec<ProviderStatus>§provider_instances: Vec<ProviderInstance>§default_config: Option<VersionedAgentConfig>§models: Vec<ModelChoice>§model_providers: BTreeMap<String, String>§middleware_features: Vec<MiddlewareFeature>§extensions: Vec<ExtensionRecord>§contributions: Vec<FrontendContribution>§max_active_sessions: usize§session_file_limits: SessionFileLimitsTrait Implementations§
Source§impl Clone for ReadyPayload
impl Clone for ReadyPayload
Source§fn clone(&self) -> ReadyPayload
fn clone(&self) -> ReadyPayload
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 ReadyPayload
impl Debug for ReadyPayload
Source§impl<'de> Deserialize<'de> for ReadyPayload
impl<'de> Deserialize<'de> for ReadyPayload
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 PartialEq for ReadyPayload
impl PartialEq for ReadyPayload
Source§impl Serialize for ReadyPayload
impl Serialize for ReadyPayload
impl StructuralPartialEq for ReadyPayload
Auto Trait Implementations§
impl Freeze for ReadyPayload
impl RefUnwindSafe for ReadyPayload
impl Send for ReadyPayload
impl Sync for ReadyPayload
impl Unpin for ReadyPayload
impl UnsafeUnpin for ReadyPayload
impl UnwindSafe for ReadyPayload
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