#[non_exhaustive]pub struct DeleteIssueRequest {
pub name: String,
pub etag: String,
/* private fields */
}Expand description
The request to delete 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 delete.
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, deletion will be blocked and an ABORTED error will be returned.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteIssueRequest
impl Clone for DeleteIssueRequest
Source§fn clone(&self) -> DeleteIssueRequest
fn clone(&self) -> DeleteIssueRequest
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 DeleteIssueRequest
impl Debug for DeleteIssueRequest
Source§impl Default for DeleteIssueRequest
impl Default for DeleteIssueRequest
Source§fn default() -> DeleteIssueRequest
fn default() -> DeleteIssueRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteIssueRequest
impl Message for DeleteIssueRequest
Source§impl PartialEq for DeleteIssueRequest
impl PartialEq for DeleteIssueRequest
impl StructuralPartialEq for DeleteIssueRequest
Auto Trait Implementations§
impl Freeze for DeleteIssueRequest
impl RefUnwindSafe for DeleteIssueRequest
impl Send for DeleteIssueRequest
impl Sync for DeleteIssueRequest
impl Unpin for DeleteIssueRequest
impl UnwindSafe for DeleteIssueRequest
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