#[non_exhaustive]pub struct DeliveryPipelineNotificationEvent {
pub message: String,
pub pipeline_uid: String,
pub delivery_pipeline: String,
pub type: Type,
/* private fields */
}
Expand description
Payload proto for “clouddeploy.googleapis.com/deliverypipeline_notification” Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.
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 a notification fails to send.
pipeline_uid: String
Unique identifier of the DeliveryPipeline
.
delivery_pipeline: String
The name of the Delivery Pipeline
.
type: Type
Type of this notification, e.g. for a Pub/Sub failure.
Implementations§
Source§impl DeliveryPipelineNotificationEvent
impl DeliveryPipelineNotificationEvent
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_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_delivery_pipeline<T: Into<String>>(self, v: T) -> Self
pub fn set_delivery_pipeline<T: Into<String>>(self, v: T) -> Self
Sets the value of delivery_pipeline.
Trait Implementations§
Source§impl Clone for DeliveryPipelineNotificationEvent
impl Clone for DeliveryPipelineNotificationEvent
Source§fn clone(&self) -> DeliveryPipelineNotificationEvent
fn clone(&self) -> DeliveryPipelineNotificationEvent
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 Default for DeliveryPipelineNotificationEvent
impl Default for DeliveryPipelineNotificationEvent
Source§fn default() -> DeliveryPipelineNotificationEvent
fn default() -> DeliveryPipelineNotificationEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeliveryPipelineNotificationEvent
impl PartialEq for DeliveryPipelineNotificationEvent
Source§fn eq(&self, other: &DeliveryPipelineNotificationEvent) -> bool
fn eq(&self, other: &DeliveryPipelineNotificationEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeliveryPipelineNotificationEvent
Auto Trait Implementations§
impl Freeze for DeliveryPipelineNotificationEvent
impl RefUnwindSafe for DeliveryPipelineNotificationEvent
impl Send for DeliveryPipelineNotificationEvent
impl Sync for DeliveryPipelineNotificationEvent
impl Unpin for DeliveryPipelineNotificationEvent
impl UnwindSafe for DeliveryPipelineNotificationEvent
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