pub struct ModelReroutedNotification {
pub from_model: String,
pub reason: ModelRerouteReason,
pub thread_id: String,
pub to_model: String,
pub turn_id: String,
}Fields§
§from_model: String§reason: ModelRerouteReason§thread_id: String§to_model: String§turn_id: StringTrait Implementations§
Source§impl Clone for ModelReroutedNotification
impl Clone for ModelReroutedNotification
Source§fn clone(&self) -> ModelReroutedNotification
fn clone(&self) -> ModelReroutedNotification
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 ModelReroutedNotification
impl Debug for ModelReroutedNotification
Source§impl<'de> Deserialize<'de> for ModelReroutedNotification
impl<'de> Deserialize<'de> for ModelReroutedNotification
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 ModelReroutedNotification
impl PartialEq for ModelReroutedNotification
Source§fn eq(&self, other: &ModelReroutedNotification) -> bool
fn eq(&self, other: &ModelReroutedNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelReroutedNotification
Auto Trait Implementations§
impl Freeze for ModelReroutedNotification
impl RefUnwindSafe for ModelReroutedNotification
impl Send for ModelReroutedNotification
impl Sync for ModelReroutedNotification
impl Unpin for ModelReroutedNotification
impl UnsafeUnpin for ModelReroutedNotification
impl UnwindSafe for ModelReroutedNotification
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