pub struct ChatLast {
pub parts: Vec<Value>,
pub role: String,
pub created_at: DateTime<Utc>,
pub position: u32,
pub author: Option<Profile>,
pub model: Option<String>,
}Fields§
§parts: Vec<Value>§role: String§created_at: DateTime<Utc>§position: u32§model: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatLast
impl<'de> Deserialize<'de> for ChatLast
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 Forget for ChatLast
impl Freeze for ChatLast
impl Move for ChatLast
impl RefUnwindSafe for ChatLast
impl Send for ChatLast
impl Sync for ChatLast
impl Unpin for ChatLast
impl UnsafeUnpin for ChatLast
impl UnwindSafe for ChatLast
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