Struct reinfer_client::resources::comment::Comment
source · pub struct Comment {
pub id: Id,
pub uid: Uid,
pub thread_id: Option<ThreadId>,
pub timestamp: DateTime<Utc>,
pub messages: Vec<Message>,
pub user_properties: PropertyMap,
pub attachments: Vec<AttachmentMetadata>,
pub created_at: DateTime<Utc>,
pub has_annotations: bool,
}
Fields§
§id: Id
§uid: Uid
§thread_id: Option<ThreadId>
§timestamp: DateTime<Utc>
§messages: Vec<Message>
§user_properties: PropertyMap
§attachments: Vec<AttachmentMetadata>
§created_at: DateTime<Utc>
§has_annotations: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
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 Comment
impl PartialEq for Comment
impl Eq for Comment
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.