#[non_exhaustive]pub struct DeleteBuildTriggerRequest {
pub name: String,
pub project_id: String,
pub trigger_id: String,
/* private fields */
}Expand description
Request to delete a BuildTrigger.
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: StringThe name of the Trigger to delete.
Format: projects/{project}/locations/{location}/triggers/{trigger}
project_id: StringRequired. ID of the project that owns the trigger.
trigger_id: StringRequired. ID of the BuildTrigger to delete.
Implementations§
Source§impl DeleteBuildTriggerRequest
impl DeleteBuildTriggerRequest
pub fn new() -> Self
Sourcepub fn set_project_id<T: Into<String>>(self, v: T) -> Self
pub fn set_project_id<T: Into<String>>(self, v: T) -> Self
Sets the value of project_id.
§Example
ⓘ
let x = DeleteBuildTriggerRequest::new().set_project_id("example");Sourcepub fn set_trigger_id<T: Into<String>>(self, v: T) -> Self
pub fn set_trigger_id<T: Into<String>>(self, v: T) -> Self
Sets the value of trigger_id.
§Example
ⓘ
let x = DeleteBuildTriggerRequest::new().set_trigger_id("example");Trait Implementations§
Source§impl Clone for DeleteBuildTriggerRequest
impl Clone for DeleteBuildTriggerRequest
Source§fn clone(&self) -> DeleteBuildTriggerRequest
fn clone(&self) -> DeleteBuildTriggerRequest
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 DeleteBuildTriggerRequest
impl Debug for DeleteBuildTriggerRequest
Source§impl Default for DeleteBuildTriggerRequest
impl Default for DeleteBuildTriggerRequest
Source§fn default() -> DeleteBuildTriggerRequest
fn default() -> DeleteBuildTriggerRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteBuildTriggerRequest
impl Message for DeleteBuildTriggerRequest
impl StructuralPartialEq for DeleteBuildTriggerRequest
Auto Trait Implementations§
impl Freeze for DeleteBuildTriggerRequest
impl RefUnwindSafe for DeleteBuildTriggerRequest
impl Send for DeleteBuildTriggerRequest
impl Sync for DeleteBuildTriggerRequest
impl Unpin for DeleteBuildTriggerRequest
impl UnwindSafe for DeleteBuildTriggerRequest
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