pub struct ContextWithStats {
pub context_id: String,
pub user_id: String,
pub name: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub task_count: i64,
pub message_count: i64,
pub last_message_at: Option<DateTime<Utc>>,
}Fields§
§context_id: String§user_id: String§name: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§task_count: i64§message_count: i64§last_message_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ContextWithStats
impl Clone for ContextWithStats
Source§fn clone(&self) -> ContextWithStats
fn clone(&self) -> ContextWithStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContextWithStats
impl RefUnwindSafe for ContextWithStats
impl Send for ContextWithStats
impl Sync for ContextWithStats
impl Unpin for ContextWithStats
impl UnwindSafe for ContextWithStats
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