#[non_exhaustive]pub struct ReleaseRenderEvent {
pub message: String,
pub pipeline_uid: String,
pub release: String,
pub type: Type,
pub release_render_state: RenderState,
/* private fields */
}
Expand description
Payload proto for “clouddeploy.googleapis.com/release_render” Platform Log event that describes the render status change.
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 render transition occurs. Provides further details as rendering progresses through render states.
pipeline_uid: String
Unique identifier of the DeliveryPipeline
.
release: String
The name of the release. release_uid is not in this log message because we write some of these log messages at release creation time, before we’ve generated the uid.
type: Type
Type of this notification, e.g. for a release render state change event.
release_render_state: RenderState
The state of the release render.
Implementations§
Source§impl ReleaseRenderEvent
impl ReleaseRenderEvent
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<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_release_render_state<T: Into<RenderState>>(self, v: T) -> Self
pub fn set_release_render_state<T: Into<RenderState>>(self, v: T) -> Self
Sets the value of release_render_state.
Trait Implementations§
Source§impl Clone for ReleaseRenderEvent
impl Clone for ReleaseRenderEvent
Source§fn clone(&self) -> ReleaseRenderEvent
fn clone(&self) -> ReleaseRenderEvent
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 ReleaseRenderEvent
impl Debug for ReleaseRenderEvent
Source§impl Default for ReleaseRenderEvent
impl Default for ReleaseRenderEvent
Source§fn default() -> ReleaseRenderEvent
fn default() -> ReleaseRenderEvent
Returns the “default value” for a type. Read more
Source§impl Message for ReleaseRenderEvent
impl Message for ReleaseRenderEvent
Source§impl PartialEq for ReleaseRenderEvent
impl PartialEq for ReleaseRenderEvent
impl StructuralPartialEq for ReleaseRenderEvent
Auto Trait Implementations§
impl Freeze for ReleaseRenderEvent
impl RefUnwindSafe for ReleaseRenderEvent
impl Send for ReleaseRenderEvent
impl Sync for ReleaseRenderEvent
impl Unpin for ReleaseRenderEvent
impl UnwindSafe for ReleaseRenderEvent
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