#[non_exhaustive]pub struct AutomationRunEvent {
pub message: String,
pub automation_run: String,
pub pipeline_uid: String,
pub automation_id: String,
pub rule_id: String,
pub destination_target_id: String,
pub type: Type,
/* private fields */
}
Expand description
Payload proto for “clouddeploy.googleapis.com/automation_run” Platform Log event that describes the AutomationRun related events.
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.message: String
Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.
automation_run: String
The name of the AutomationRun
.
pipeline_uid: String
Unique identifier of the DeliveryPipeline
.
automation_id: String
Identifier of the Automation
.
rule_id: String
Identifier of the Automation
rule.
destination_target_id: String
ID of the Target
to which the AutomationRun
is created.
type: Type
Type of this notification, e.g. for a Pub/Sub failure.
Implementations§
Source§impl AutomationRunEvent
impl AutomationRunEvent
pub fn new() -> Self
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Sourcepub fn set_automation_run<T: Into<String>>(self, v: T) -> Self
pub fn set_automation_run<T: Into<String>>(self, v: T) -> Self
Sets the value of automation_run.
Sourcepub fn set_pipeline_uid<T: Into<String>>(self, v: T) -> Self
pub fn set_pipeline_uid<T: Into<String>>(self, v: T) -> Self
Sets the value of pipeline_uid.
Sourcepub fn set_automation_id<T: Into<String>>(self, v: T) -> Self
pub fn set_automation_id<T: Into<String>>(self, v: T) -> Self
Sets the value of automation_id.
Sourcepub fn set_rule_id<T: Into<String>>(self, v: T) -> Self
pub fn set_rule_id<T: Into<String>>(self, v: T) -> Self
Sets the value of rule_id.
Sourcepub fn set_destination_target_id<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_target_id<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_target_id.
Trait Implementations§
Source§impl Clone for AutomationRunEvent
impl Clone for AutomationRunEvent
Source§fn clone(&self) -> AutomationRunEvent
fn clone(&self) -> AutomationRunEvent
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 AutomationRunEvent
impl Debug for AutomationRunEvent
Source§impl Default for AutomationRunEvent
impl Default for AutomationRunEvent
Source§fn default() -> AutomationRunEvent
fn default() -> AutomationRunEvent
Returns the “default value” for a type. Read more
Source§impl Message for AutomationRunEvent
impl Message for AutomationRunEvent
Source§impl PartialEq for AutomationRunEvent
impl PartialEq for AutomationRunEvent
impl StructuralPartialEq for AutomationRunEvent
Auto Trait Implementations§
impl Freeze for AutomationRunEvent
impl RefUnwindSafe for AutomationRunEvent
impl Send for AutomationRunEvent
impl Sync for AutomationRunEvent
impl Unpin for AutomationRunEvent
impl UnwindSafe for AutomationRunEvent
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