pub struct SessionProviderSyncResult {
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 SessionProviderSyncResult
impl Clone for SessionProviderSyncResult
Source§impl Debug for SessionProviderSyncResult
impl Debug for SessionProviderSyncResult
Source§impl Default for SessionProviderSyncResult
impl Default for SessionProviderSyncResult
Source§impl<'de> Deserialize<'de> for SessionProviderSyncResult
impl<'de> Deserialize<'de> for SessionProviderSyncResult
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 SessionProviderSyncResult
impl RefUnwindSafe for SessionProviderSyncResult
impl Send for SessionProviderSyncResult
impl Sync for SessionProviderSyncResult
impl Unpin for SessionProviderSyncResult
impl UnsafeUnpin for SessionProviderSyncResult
impl UnwindSafe for SessionProviderSyncResult
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