pub struct ModelSafetyBufferingUpdatedNotification {
pub faster_model: Option<String>,
pub model: String,
pub reasons: Vec<String>,
pub show_buffering_ui: bool,
pub thread_id: String,
pub turn_id: String,
pub use_cases: Vec<String>,
}Fields§
§faster_model: Option<String>§model: String§reasons: Vec<String>§show_buffering_ui: bool§thread_id: String§turn_id: String§use_cases: Vec<String>Trait Implementations§
Source§impl Clone for ModelSafetyBufferingUpdatedNotification
impl Clone for ModelSafetyBufferingUpdatedNotification
Source§fn clone(&self) -> ModelSafetyBufferingUpdatedNotification
fn clone(&self) -> ModelSafetyBufferingUpdatedNotification
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<'de> Deserialize<'de> for ModelSafetyBufferingUpdatedNotification
impl<'de> Deserialize<'de> for ModelSafetyBufferingUpdatedNotification
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 ModelSafetyBufferingUpdatedNotification
impl PartialEq for ModelSafetyBufferingUpdatedNotification
Source§fn eq(&self, other: &ModelSafetyBufferingUpdatedNotification) -> bool
fn eq(&self, other: &ModelSafetyBufferingUpdatedNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelSafetyBufferingUpdatedNotification
Auto Trait Implementations§
impl Freeze for ModelSafetyBufferingUpdatedNotification
impl RefUnwindSafe for ModelSafetyBufferingUpdatedNotification
impl Send for ModelSafetyBufferingUpdatedNotification
impl Sync for ModelSafetyBufferingUpdatedNotification
impl Unpin for ModelSafetyBufferingUpdatedNotification
impl UnsafeUnpin for ModelSafetyBufferingUpdatedNotification
impl UnwindSafe for ModelSafetyBufferingUpdatedNotification
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