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