pub struct ProviderSyncResult {
pub model_deselected: Option<bool>,
pub models: Vec<Value>,
pub selection_ids: Vec<String>,
}Expand description
The selectable model entries and selection ids synthesized for the synchronized BYOK models.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§model_deselected: Option<bool>True when synchronization withdrew the selected host-managed model, leaving the session with no explicit selection, so ordinary model resolution picks the session default. Synchronization never promotes a surviving host model in its place: publishing a model offers it, and the choice of which model to use stays with the user.
models: Vec<Value>Synthesized selectable model entries for the synchronized BYOK models.
selection_ids: Vec<String>Provider-qualified model selection ids present after synchronization.
Trait Implementations§
Source§impl Clone for ProviderSyncResult
impl Clone for ProviderSyncResult
Source§impl Debug for ProviderSyncResult
impl Debug for ProviderSyncResult
Source§impl Default for ProviderSyncResult
impl Default for ProviderSyncResult
Source§impl<'de> Deserialize<'de> for ProviderSyncResult
impl<'de> Deserialize<'de> for ProviderSyncResult
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 ProviderSyncResult
impl RefUnwindSafe for ProviderSyncResult
impl Send for ProviderSyncResult
impl Sync for ProviderSyncResult
impl Unpin for ProviderSyncResult
impl UnsafeUnpin for ProviderSyncResult
impl UnwindSafe for ProviderSyncResult
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