pub struct ResourceCurationComment {
pub id: CommentId,
pub resource_id: ResourceId,
pub value: String,
pub created_at: DateTime<Utc>,
pub author_id: UserId,
}
Expand description
Curation data for ResourceS
Fields§
§id: CommentId
Comment ID
resource_id: ResourceId
Resource ID for comment
value: String
Comment
created_at: DateTime<Utc>
When comment was submitted
ID of commenter
Trait Implementations§
Source§impl Clone for ResourceCurationComment
impl Clone for ResourceCurationComment
Source§fn clone(&self) -> ResourceCurationComment
fn clone(&self) -> ResourceCurationComment
Returns a copy 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 ResourceCurationComment
impl Debug for ResourceCurationComment
Source§impl<'de> Deserialize<'de> for ResourceCurationComment
impl<'de> Deserialize<'de> for ResourceCurationComment
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
Auto Trait Implementations§
impl Freeze for ResourceCurationComment
impl RefUnwindSafe for ResourceCurationComment
impl Send for ResourceCurationComment
impl Sync for ResourceCurationComment
impl Unpin for ResourceCurationComment
impl UnwindSafe for ResourceCurationComment
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