pub struct ProviderSyncRequest {
pub models: Option<Vec<ProviderModelConfig>>,
pub providers: Option<Vec<NamedProviderConfig>>,
}Expand description
Authoritative BYOK provider and model registry snapshot to apply atomically to the session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§models: Option<Vec<ProviderModelConfig>>BYOK model definition snapshot. Models absent from this list are removed.
providers: Option<Vec<NamedProviderConfig>>Named BYOK provider connection snapshot. Providers absent from this list are removed.
Trait Implementations§
Source§impl Clone for ProviderSyncRequest
impl Clone for ProviderSyncRequest
Source§impl Debug for ProviderSyncRequest
impl Debug for ProviderSyncRequest
Source§impl Default for ProviderSyncRequest
impl Default for ProviderSyncRequest
Source§impl<'de> Deserialize<'de> for ProviderSyncRequest
impl<'de> Deserialize<'de> for ProviderSyncRequest
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
Auto Trait Implementations§
impl Freeze for ProviderSyncRequest
impl RefUnwindSafe for ProviderSyncRequest
impl Send for ProviderSyncRequest
impl Sync for ProviderSyncRequest
impl Unpin for ProviderSyncRequest
impl UnsafeUnpin for ProviderSyncRequest
impl UnwindSafe for ProviderSyncRequest
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