#[non_exhaustive]pub struct TimedPromoteReleaseOperation {
pub target_id: String,
pub release: String,
pub phase: String,
/* private fields */
}Expand description
Contains the information of an automated timed promote-release operation.
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.target_id: StringOutput only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
release: StringOutput only. The name of the release to be promoted.
phase: StringOutput only. The starting phase of the rollout created by this operation.
Implementations§
Source§impl TimedPromoteReleaseOperation
impl TimedPromoteReleaseOperation
pub fn new() -> Self
Sourcepub fn set_target_id<T: Into<String>>(self, v: T) -> Self
pub fn set_target_id<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_release<T: Into<String>>(self, v: T) -> Self
pub fn set_release<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for TimedPromoteReleaseOperation
impl Clone for TimedPromoteReleaseOperation
Source§fn clone(&self) -> TimedPromoteReleaseOperation
fn clone(&self) -> TimedPromoteReleaseOperation
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 TimedPromoteReleaseOperation
impl Debug for TimedPromoteReleaseOperation
Source§impl Default for TimedPromoteReleaseOperation
impl Default for TimedPromoteReleaseOperation
Source§fn default() -> TimedPromoteReleaseOperation
fn default() -> TimedPromoteReleaseOperation
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimedPromoteReleaseOperation
impl PartialEq for TimedPromoteReleaseOperation
Source§fn eq(&self, other: &TimedPromoteReleaseOperation) -> bool
fn eq(&self, other: &TimedPromoteReleaseOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimedPromoteReleaseOperation
Auto Trait Implementations§
impl Freeze for TimedPromoteReleaseOperation
impl RefUnwindSafe for TimedPromoteReleaseOperation
impl Send for TimedPromoteReleaseOperation
impl Sync for TimedPromoteReleaseOperation
impl Unpin for TimedPromoteReleaseOperation
impl UnwindSafe for TimedPromoteReleaseOperation
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