#[non_exhaustive]pub struct SessionModelRouteUnservedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub command_id: String,
pub installed_provider_id: String,
pub model_id: String,
pub provider_id: Option<String>,
}Expand description
session/modelRouteUnserved params: an accepted login.credential_update
installed a provider that cannot serve the session’s STANDING model route.
Disclosure only — the standing selection is unchanged (no
session/modelChanged fires) and the repair path is a routable
session/setModel. Folded from the durable
runtime.provider_reconfigure.standing_route_unserved record; additive —
clients that predate it skip the unknown method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe owning session.
view_cursor: StringOpaque, strictly monotonic view cursor.
source_range: SourceRangeThe durable records this event folded from.
command_id: StringThe command whose accepted swap installed the provider.
installed_provider_id: StringThe provider id the swap installed.
model_id: StringThe standing (still bound, now unroutable) model.
provider_id: Option<String>The standing model’s provider; null when the selection names none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionModelRouteUnservedParams
impl<'de> Deserialize<'de> for SessionModelRouteUnservedParams
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
impl Eq for SessionModelRouteUnservedParams
impl StructuralPartialEq for SessionModelRouteUnservedParams
Auto Trait Implementations§
impl Freeze for SessionModelRouteUnservedParams
impl RefUnwindSafe for SessionModelRouteUnservedParams
impl Send for SessionModelRouteUnservedParams
impl Sync for SessionModelRouteUnservedParams
impl Unpin for SessionModelRouteUnservedParams
impl UnsafeUnpin for SessionModelRouteUnservedParams
impl UnwindSafe for SessionModelRouteUnservedParams
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