pub struct ResourceCurationCommentResponse {
pub id: CommentId,
pub resource_id: ResourceId,
pub value: String,
pub created_at: Option<DateTime<Utc>>,
pub author_id: UserId,
pub author_name: String,
}
Expand description
Curation data for ResourceS
Fields§
§id: CommentId
ID of comment
resource_id: ResourceId
ID of Resource
value: String
Curator comment
created_at: Option<DateTime<Utc>>
When comment was submitted
ID of commenter
Name of commenter
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ResourceCurationCommentResponse
impl<'de> Deserialize<'de> for ResourceCurationCommentResponse
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 ResourceCurationCommentResponse
impl RefUnwindSafe for ResourceCurationCommentResponse
impl Send for ResourceCurationCommentResponse
impl Sync for ResourceCurationCommentResponse
impl Unpin for ResourceCurationCommentResponse
impl UnwindSafe for ResourceCurationCommentResponse
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