pub enum ModulePlanEffect {
WorkspaceFile {
effect_id: String,
path: String,
ownership: ModuleFileOwnership,
change: ModuleFileChange,
before_digest: Option<String>,
after_digest: Option<String>,
after_content: Option<String>,
after_mode: Option<u32>,
patch: String,
reversible_before_migration: bool,
},
Configuration {
effect_id: String,
config_revision_digest: String,
unresolved_required_fields: Vec<String>,
},
Migration {
effect_id: String,
module_id: String,
release_digest: String,
migration_id: String,
artifact_locator: String,
artifact_digest: String,
store_scope: String,
execution: MigrationExecutionMode,
risk_class: ModuleRiskClass,
},
Protected {
effect_id: String,
risk_class: ModuleRiskClass,
subject: String,
evidence_digest: String,
},
ConsoleComposition {
effect_id: String,
console_service_id: String,
candidate_lock_digest: String,
artifacts: Vec<ConsoleCompositionArtifact>,
},
ServiceInstallation {
effect_id: String,
service_id: String,
service_release_digest: String,
installation_plan: Option<ServiceInstallationPlan>,
adapter: Option<ServiceDeploymentAdapterKind>,
action: Option<ServiceDeploymentAction>,
},
ServiceRemoval {
effect_id: String,
service_id: String,
service_release_digest: String,
adapter: Option<ServiceDeploymentAdapterKind>,
action: Option<ServiceDeploymentAction>,
},
ServiceRestart {
effect_id: String,
service_id: String,
service_release_digest: String,
adapter: Option<ServiceDeploymentAdapterKind>,
action: Option<ServiceDeploymentAction>,
},
Validate {
effect_id: String,
command: String,
expected_evidence: String,
},
Restart {
effect_id: String,
target: String,
},
Activate {
effect_id: String,
target_lock_digest: String,
},
}Variants§
WorkspaceFile
Configuration
Migration
Protected
ConsoleComposition
Fields
§
artifacts: Vec<ConsoleCompositionArtifact>ServiceInstallation
Fields
§
installation_plan: Option<ServiceInstallationPlan>§
adapter: Option<ServiceDeploymentAdapterKind>§
action: Option<ServiceDeploymentAction>ServiceRemoval
ServiceRestart
Validate
Restart
Activate
Implementations§
Source§impl ModulePlanEffect
impl ModulePlanEffect
pub fn effect_id(&self) -> &str
pub fn risk_class(&self) -> ModuleRiskClass
Trait Implementations§
Source§impl Clone for ModulePlanEffect
impl Clone for ModulePlanEffect
Source§fn clone(&self) -> ModulePlanEffect
fn clone(&self) -> ModulePlanEffect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModulePlanEffect
impl Debug for ModulePlanEffect
Source§impl<'de> Deserialize<'de> for ModulePlanEffect
impl<'de> Deserialize<'de> for ModulePlanEffect
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
impl Eq for ModulePlanEffect
Source§impl JsonSchema for ModulePlanEffect
impl JsonSchema for ModulePlanEffect
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ModulePlanEffect
impl PartialEq for ModulePlanEffect
Source§impl Serialize for ModulePlanEffect
impl Serialize for ModulePlanEffect
impl StructuralPartialEq for ModulePlanEffect
Auto Trait Implementations§
impl Freeze for ModulePlanEffect
impl RefUnwindSafe for ModulePlanEffect
impl Send for ModulePlanEffect
impl Sync for ModulePlanEffect
impl Unpin for ModulePlanEffect
impl UnsafeUnpin for ModulePlanEffect
impl UnwindSafe for ModulePlanEffect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.