pub struct ProjectNote {
pub id: String,
pub project_id: String,
pub content: String,
pub posted_at: Option<String>,
pub is_deleted: bool,
pub posted_uid: Option<String>,
pub file_attachment: Option<FileAttachment>,
}Expand description
A project comment.
Fields§
§id: StringThe ID of the note.
project_id: StringThe project this note belongs to.
content: StringThe content of the note.
posted_at: Option<String>When the note was posted.
is_deleted: boolWhether the note is deleted.
posted_uid: Option<String>ID of the user who posted this note.
file_attachment: Option<FileAttachment>File attachment.
Trait Implementations§
Source§impl Clone for ProjectNote
impl Clone for ProjectNote
Source§fn clone(&self) -> ProjectNote
fn clone(&self) -> ProjectNote
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 moreSource§impl Debug for ProjectNote
impl Debug for ProjectNote
Source§impl<'de> Deserialize<'de> for ProjectNote
impl<'de> Deserialize<'de> for ProjectNote
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 ProjectNote
impl PartialEq for ProjectNote
Source§impl Serialize for ProjectNote
impl Serialize for ProjectNote
impl StructuralPartialEq for ProjectNote
Auto Trait Implementations§
impl Freeze for ProjectNote
impl RefUnwindSafe for ProjectNote
impl Send for ProjectNote
impl Sync for ProjectNote
impl Unpin for ProjectNote
impl UnsafeUnpin for ProjectNote
impl UnwindSafe for ProjectNote
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