pub struct WorkspaceSummary {
pub id: String,
pub name: String,
pub folder: String,
pub chats: u64,
pub updated_at: i64,
pub env: EnvKind,
}Expand description
A workspace in the chat list.
Fields§
§id: String§name: String§folder: StringIts folder on the engine’s machine.
chats: u64How many chats it has.
updated_at: i64Latest activity of its chats, else when it was created (ms since the epoch).
env: EnvKindIts environment setting, for a small marker in the list.
Trait Implementations§
Source§impl Clone for WorkspaceSummary
impl Clone for WorkspaceSummary
Source§impl Debug for WorkspaceSummary
impl Debug for WorkspaceSummary
Source§impl<'de> Deserialize<'de> for WorkspaceSummary
impl<'de> Deserialize<'de> for WorkspaceSummary
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
impl Eq for WorkspaceSummary
Source§impl PartialEq for WorkspaceSummary
impl PartialEq for WorkspaceSummary
Source§impl Serialize for WorkspaceSummary
impl Serialize for WorkspaceSummary
impl StructuralPartialEq for WorkspaceSummary
Auto Trait Implementations§
impl Forget for WorkspaceSummary
impl Freeze for WorkspaceSummary
impl RefUnwindSafe for WorkspaceSummary
impl Send for WorkspaceSummary
impl Sync for WorkspaceSummary
impl Unpin for WorkspaceSummary
impl UnsafeUnpin for WorkspaceSummary
impl UnwindSafe for WorkspaceSummary
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