pub struct ReviewCommentResource {Show 17 fields
pub id: Uuid,
pub review_id: Uuid,
pub diff_id: Uuid,
pub revision_id: Uuid,
pub author_id: Uuid,
pub parent_id: Option<Uuid>,
pub body: String,
pub file_path: Option<String>,
pub line_number_start: Option<i32>,
pub line_number_end: Option<i32>,
pub start_character: Option<i32>,
pub end_character: Option<i32>,
pub side: Option<String>,
pub resolved: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub author: Option<AuthorResource>,
}Fields§
§id: Uuid§review_id: Uuid§diff_id: Uuid§revision_id: Uuid§parent_id: Option<Uuid>§body: String§file_path: Option<String>§line_number_start: Option<i32>§line_number_end: Option<i32>§start_character: Option<i32>§end_character: Option<i32>§side: Option<String>§resolved: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
impl ApiResource for ReviewCommentResource
Source§impl Clone for ReviewCommentResource
impl Clone for ReviewCommentResource
Source§fn clone(&self) -> ReviewCommentResource
fn clone(&self) -> ReviewCommentResource
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 ReviewCommentResource
impl Debug for ReviewCommentResource
Source§impl<'de> Deserialize<'de> for ReviewCommentResource
impl<'de> Deserialize<'de> for ReviewCommentResource
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 ReviewCommentResource
Source§impl PartialEq for ReviewCommentResource
impl PartialEq for ReviewCommentResource
Source§fn eq(&self, other: &ReviewCommentResource) -> bool
fn eq(&self, other: &ReviewCommentResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReviewCommentResource
impl Serialize for ReviewCommentResource
impl StructuralPartialEq for ReviewCommentResource
Auto Trait Implementations§
impl Freeze for ReviewCommentResource
impl RefUnwindSafe for ReviewCommentResource
impl Send for ReviewCommentResource
impl Sync for ReviewCommentResource
impl Unpin for ReviewCommentResource
impl UnsafeUnpin for ReviewCommentResource
impl UnwindSafe for ReviewCommentResource
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