pub struct ProjectInfo {
pub id: String,
pub name: String,
pub description: String,
pub source: String,
pub paths: Vec<String>,
pub tags: Vec<String>,
pub emoji: String,
pub memory_visible: bool,
pub created_at: String,
pub updated_at: String,
pub last_active_at: String,
}Expand description
Serialized Project info for API responses.
Fields§
§id: String§name: String§description: String§source: String§paths: Vec<String>§emoji: String§memory_visible: bool§created_at: String§updated_at: String§last_active_at: StringTrait Implementations§
Source§impl Clone for ProjectInfo
impl Clone for ProjectInfo
Source§fn clone(&self) -> ProjectInfo
fn clone(&self) -> ProjectInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectInfo
impl Debug for ProjectInfo
Source§impl<'de> Deserialize<'de> for ProjectInfo
impl<'de> Deserialize<'de> for ProjectInfo
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 From<&Project> for ProjectInfo
impl From<&Project> for ProjectInfo
Auto Trait Implementations§
impl Freeze for ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnsafeUnpin for ProjectInfo
impl UnwindSafe for ProjectInfo
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