pub struct DeploymentConfigRollbackSpec {
pub from: ObjectReference,
pub include_replication_meta: bool,
pub include_strategy: bool,
pub include_template: bool,
pub include_triggers: bool,
pub revision: Option<i64>,
}
Expand description
DeploymentConfigRollbackSpec represents the options for rollback generation.
Fields§
§from: ObjectReference
From points to a ReplicationController which is a deployment.
include_replication_meta: bool
IncludeReplicationMeta specifies whether to include the replica count and selector.
include_strategy: bool
IncludeStrategy specifies whether to include the deployment Strategy.
include_template: bool
IncludeTemplate specifies whether to include the PodTemplateSpec.
include_triggers: bool
IncludeTriggers specifies whether to include config Triggers.
revision: Option<i64>
Revision to rollback to. If set to 0, rollback to the last revision.
Trait Implementations§
Source§impl Clone for DeploymentConfigRollbackSpec
impl Clone for DeploymentConfigRollbackSpec
Source§fn clone(&self) -> DeploymentConfigRollbackSpec
fn clone(&self) -> DeploymentConfigRollbackSpec
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 DeploymentConfigRollbackSpec
impl Debug for DeploymentConfigRollbackSpec
Source§impl Default for DeploymentConfigRollbackSpec
impl Default for DeploymentConfigRollbackSpec
Source§fn default() -> DeploymentConfigRollbackSpec
fn default() -> DeploymentConfigRollbackSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentConfigRollbackSpec
impl<'de> Deserialize<'de> for DeploymentConfigRollbackSpec
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeploymentConfigRollbackSpec
impl PartialEq for DeploymentConfigRollbackSpec
Source§fn eq(&self, other: &DeploymentConfigRollbackSpec) -> bool
fn eq(&self, other: &DeploymentConfigRollbackSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeploymentConfigRollbackSpec
Auto Trait Implementations§
impl Freeze for DeploymentConfigRollbackSpec
impl RefUnwindSafe for DeploymentConfigRollbackSpec
impl Send for DeploymentConfigRollbackSpec
impl Sync for DeploymentConfigRollbackSpec
impl Unpin for DeploymentConfigRollbackSpec
impl UnwindSafe for DeploymentConfigRollbackSpec
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