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