pub struct Content {
pub parts: Vec<Part>,
pub role: Role,
pub created_at: DateTime<Utc>,
pub author: Option<Author>,
pub model: Option<Text>,
}Fields§
§parts: Vec<Part>§role: Role§created_at: DateTime<Utc>§model: Option<Text>The model that wrote a MODEL turn.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Content
impl Freeze for Content
impl Move for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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