#[non_exhaustive]pub struct UpdateCommentInput {
pub comment_id: Option<String>,
pub content: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.comment_id: Option<String>The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
content: Option<String>The updated content to replace the existing content of the comment.
Implementations§
source§impl UpdateCommentInput
impl UpdateCommentInput
sourcepub fn builder() -> UpdateCommentInputBuilder
pub fn builder() -> UpdateCommentInputBuilder
Creates a new builder-style object to manufacture UpdateCommentInput.
Trait Implementations§
source§impl Clone for UpdateCommentInput
impl Clone for UpdateCommentInput
source§fn clone(&self) -> UpdateCommentInput
fn clone(&self) -> UpdateCommentInput
Returns a copy of the value. Read more
1.0.0 · 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 UpdateCommentInput
impl Debug for UpdateCommentInput
source§impl PartialEq<UpdateCommentInput> for UpdateCommentInput
impl PartialEq<UpdateCommentInput> for UpdateCommentInput
source§fn eq(&self, other: &UpdateCommentInput) -> bool
fn eq(&self, other: &UpdateCommentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateCommentInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateCommentInput
impl Send for UpdateCommentInput
impl Sync for UpdateCommentInput
impl Unpin for UpdateCommentInput
impl UnwindSafe for UpdateCommentInput
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