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