#[non_exhaustive]pub struct CloseIssueRequest {
pub name: String,
pub etag: String,
/* private fields */
}Expand description
The request to close an issue.
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.name: StringRequired. Name of the issue to close.
The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}.
etag: StringOptional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, closing will be blocked and an ABORTED error will be returned.
Implementations§
Trait Implementations§
Source§impl Clone for CloseIssueRequest
impl Clone for CloseIssueRequest
Source§fn clone(&self) -> CloseIssueRequest
fn clone(&self) -> CloseIssueRequest
Returns a duplicate 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 CloseIssueRequest
impl Debug for CloseIssueRequest
Source§impl Default for CloseIssueRequest
impl Default for CloseIssueRequest
Source§fn default() -> CloseIssueRequest
fn default() -> CloseIssueRequest
Returns the “default value” for a type. Read more
Source§impl Message for CloseIssueRequest
impl Message for CloseIssueRequest
Source§impl PartialEq for CloseIssueRequest
impl PartialEq for CloseIssueRequest
impl StructuralPartialEq for CloseIssueRequest
Auto Trait Implementations§
impl Freeze for CloseIssueRequest
impl RefUnwindSafe for CloseIssueRequest
impl Send for CloseIssueRequest
impl Sync for CloseIssueRequest
impl Unpin for CloseIssueRequest
impl UnwindSafe for CloseIssueRequest
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