pub struct BugCommentResource {
pub id: Uuid,
pub bug_id: Uuid,
pub author_id: Uuid,
pub author_role: String,
pub body: String,
pub status_change: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub author: AuthorResource,
}Fields§
§id: Uuid§bug_id: Uuid§body: String§status_change: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
impl ApiResource for BugCommentResource
Source§impl Clone for BugCommentResource
impl Clone for BugCommentResource
Source§fn clone(&self) -> BugCommentResource
fn clone(&self) -> BugCommentResource
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 BugCommentResource
impl Debug for BugCommentResource
Source§impl<'de> Deserialize<'de> for BugCommentResource
impl<'de> Deserialize<'de> for BugCommentResource
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
impl Eq for BugCommentResource
Source§impl PartialEq for BugCommentResource
impl PartialEq for BugCommentResource
Source§fn eq(&self, other: &BugCommentResource) -> bool
fn eq(&self, other: &BugCommentResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BugCommentResource
impl Serialize for BugCommentResource
impl StructuralPartialEq for BugCommentResource
Auto Trait Implementations§
impl Freeze for BugCommentResource
impl RefUnwindSafe for BugCommentResource
impl Send for BugCommentResource
impl Sync for BugCommentResource
impl Unpin for BugCommentResource
impl UnsafeUnpin for BugCommentResource
impl UnwindSafe for BugCommentResource
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