#[non_exhaustive]pub struct AutomationEvent {
pub message: String,
pub automation: String,
pub pipeline_uid: String,
pub type: Type,
/* private fields */
}
Expand description
Payload proto for “clouddeploy.googleapis.com/automation” Platform Log event that describes the Automation 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: String
The name of the AutomationRun
.
pipeline_uid: String
Unique identifier of the DeliveryPipeline
.
type: Type
Type of this notification, e.g. for a Pub/Sub failure.
Implementations§
Source§impl AutomationEvent
impl AutomationEvent
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<T: Into<String>>(self, v: T) -> Self
pub fn set_automation<T: Into<String>>(self, v: T) -> Self
Sets the value of automation.
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.
Trait Implementations§
Source§impl Clone for AutomationEvent
impl Clone for AutomationEvent
Source§fn clone(&self) -> AutomationEvent
fn clone(&self) -> AutomationEvent
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 AutomationEvent
impl Debug for AutomationEvent
Source§impl Default for AutomationEvent
impl Default for AutomationEvent
Source§fn default() -> AutomationEvent
fn default() -> AutomationEvent
Returns the “default value” for a type. Read more
Source§impl Message for AutomationEvent
impl Message for AutomationEvent
Source§impl PartialEq for AutomationEvent
impl PartialEq for AutomationEvent
impl StructuralPartialEq for AutomationEvent
Auto Trait Implementations§
impl Freeze for AutomationEvent
impl RefUnwindSafe for AutomationEvent
impl Send for AutomationEvent
impl Sync for AutomationEvent
impl Unpin for AutomationEvent
impl UnwindSafe for AutomationEvent
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