pub struct CodeReviewCommentFull {Show 17 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub as_quoted_email: String,
pub author_link: Url,
pub branch_merge_proposal_link: Url,
pub content: String,
pub date_created: DateTime<Utc>,
pub date_deleted: DateTime<Utc>,
pub date_last_edited: DateTime<Utc>,
pub id: String,
pub message_body: String,
pub owner_link: Url,
pub title: String,
pub vote: Vote,
pub vote_tag: String,
}Expand description
Representation of the code_review_comment-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
as_quoted_email: StringThe message as quoted in email.
Comment Author
branch_merge_proposal_link: UrlThe branch merge proposal
content: StringAll the text/plain chunks joined together as a unicode string.
date_created: DateTime<Utc>Date Created
date_deleted: DateTime<Utc>When this message was deleted
date_last_edited: DateTime<Utc>When this message was last edited
id: StringDB ID
The tracking number for this comment.
message_body: StringDeprecated. Use “content” attribute instead.
owner_link: UrlPerson
title: StringThe title of the comment
vote: VoteReview
vote_tag: StringVote tag
Implementations§
Source§impl CodeReviewCommentFull
impl CodeReviewCommentFull
Sourcepub fn self_(&self) -> Option<CodeReviewComment>
pub fn self_(&self) -> Option<CodeReviewComment>
The canonical link to this resource.
Sourcepub fn set_self_(&mut self, value: Option<CodeReviewComment>)
pub fn set_self_(&mut self, value: Option<CodeReviewComment>)
Set the self_link value.
Comment Author
Set the author_link value.
Sourcepub fn branch_merge_proposal(&self) -> BranchMergeProposal
pub fn branch_merge_proposal(&self) -> BranchMergeProposal
The branch merge proposal
Sourcepub fn set_branch_merge_proposal(&mut self, value: BranchMergeProposal)
pub fn set_branch_merge_proposal(&mut self, value: BranchMergeProposal)
Set the branch_merge_proposal_link value.
Trait Implementations§
Source§impl Clone for CodeReviewCommentFull
impl Clone for CodeReviewCommentFull
Source§fn clone(&self) -> CodeReviewCommentFull
fn clone(&self) -> CodeReviewCommentFull
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 CodeReviewCommentFull
impl Debug for CodeReviewCommentFull
Source§impl<'de> Deserialize<'de> for CodeReviewCommentFull
impl<'de> Deserialize<'de> for CodeReviewCommentFull
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
Source§impl PartialEq for CodeReviewCommentFull
impl PartialEq for CodeReviewCommentFull
Source§fn eq(&self, other: &CodeReviewCommentFull) -> bool
fn eq(&self, other: &CodeReviewCommentFull) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeReviewCommentFull
impl Serialize for CodeReviewCommentFull
impl StructuralPartialEq for CodeReviewCommentFull
Auto Trait Implementations§
impl Freeze for CodeReviewCommentFull
impl RefUnwindSafe for CodeReviewCommentFull
impl Send for CodeReviewCommentFull
impl Sync for CodeReviewCommentFull
impl Unpin for CodeReviewCommentFull
impl UnsafeUnpin for CodeReviewCommentFull
impl UnwindSafe for CodeReviewCommentFull
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