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