pub struct LibraryItem {
pub chat: String,
pub chat_title: String,
pub workspace: Option<String>,
pub artifact: Artifact,
pub chat_gone: bool,
pub live: Option<String>,
}Expand description
One artifact in the Library: every chat’s artifacts in one place (17+, cap
crate::version::CAP_LIBRARY).
Fields§
§chat: String§chat_title: String§workspace: Option<String>The project of its chat, if it has one.
artifact: Artifact§chat_gone: boolThe chat it was made in has been deleted: the thing itself was kept.
live: Option<String>A live file: the person’s own file it follows (relative to its folder).
Trait Implementations§
Source§impl Clone for LibraryItem
impl Clone for LibraryItem
Source§impl Debug for LibraryItem
impl Debug for LibraryItem
Source§impl<'de> Deserialize<'de> for LibraryItem
impl<'de> Deserialize<'de> for LibraryItem
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 LibraryItem
impl PartialEq for LibraryItem
Source§impl Serialize for LibraryItem
impl Serialize for LibraryItem
impl StructuralPartialEq for LibraryItem
Auto Trait Implementations§
impl Forget for LibraryItem
impl Freeze for LibraryItem
impl Move for LibraryItem
impl RefUnwindSafe for LibraryItem
impl Send for LibraryItem
impl Sync for LibraryItem
impl Unpin for LibraryItem
impl UnsafeUnpin for LibraryItem
impl UnwindSafe for LibraryItem
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