#[non_exhaustive]pub struct RolloutUpdateEvent {
pub message: String,
pub pipeline_uid: String,
pub release_uid: String,
pub release: String,
pub rollout: String,
pub target_id: String,
pub type: Type,
pub rollout_update_type: RolloutUpdateType,
/* private fields */
}
Expand description
Payload proto for “clouddeploy.googleapis.com/rollout_update” Platform Log event that describes the rollout update event.
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 rollout update event occurs.
pipeline_uid: String
Unique identifier of the pipeline.
release_uid: String
Unique identifier of the release.
release: String
The name of the Release
.
rollout: String
The name of the rollout. rollout_uid is not in this log message because we write some of these log messages at rollout creation time, before we’ve generated the uid.
target_id: String
ID of the target.
type: Type
Type of this notification, e.g. for a rollout update event.
rollout_update_type: RolloutUpdateType
The type of the rollout update.
Implementations§
Source§impl RolloutUpdateEvent
impl RolloutUpdateEvent
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<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.
Sourcepub fn set_rollout_update_type<T: Into<RolloutUpdateType>>(self, v: T) -> Self
pub fn set_rollout_update_type<T: Into<RolloutUpdateType>>(self, v: T) -> Self
Sets the value of rollout_update_type.
Trait Implementations§
Source§impl Clone for RolloutUpdateEvent
impl Clone for RolloutUpdateEvent
Source§fn clone(&self) -> RolloutUpdateEvent
fn clone(&self) -> RolloutUpdateEvent
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 RolloutUpdateEvent
impl Debug for RolloutUpdateEvent
Source§impl Default for RolloutUpdateEvent
impl Default for RolloutUpdateEvent
Source§fn default() -> RolloutUpdateEvent
fn default() -> RolloutUpdateEvent
Returns the “default value” for a type. Read more
Source§impl Message for RolloutUpdateEvent
impl Message for RolloutUpdateEvent
Source§impl PartialEq for RolloutUpdateEvent
impl PartialEq for RolloutUpdateEvent
impl StructuralPartialEq for RolloutUpdateEvent
Auto Trait Implementations§
impl Freeze for RolloutUpdateEvent
impl RefUnwindSafe for RolloutUpdateEvent
impl Send for RolloutUpdateEvent
impl Sync for RolloutUpdateEvent
impl Unpin for RolloutUpdateEvent
impl UnwindSafe for RolloutUpdateEvent
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