pub struct FinalizeCommand {
pub shell: Shell,
pub script: String,
pub timeout_secs: u64,
pub run_as: RunAs,
pub cwd: Option<String>,
}Expand description
Lowered, engine-vocabulary form of crate::manifest::FinalizeSpec
— the post-step hook stamped onto a Command. The operator-facing
humantime timeout is reduced to whole seconds at build time
(mirrors timeout_secs), and the manifest ExecuteShell to the wire
Shell, so the agent’s fire path does no parsing.
Fields§
§shell: Shell§script: StringInline script body (inline-only in P1).
timeout_secs: u64§run_as: RunAs§cwd: Option<String>Trait Implementations§
Source§impl Clone for FinalizeCommand
impl Clone for FinalizeCommand
Source§fn clone(&self) -> FinalizeCommand
fn clone(&self) -> FinalizeCommand
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 FinalizeCommand
impl Debug for FinalizeCommand
Source§impl<'de> Deserialize<'de> for FinalizeCommand
impl<'de> Deserialize<'de> for FinalizeCommand
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 JsonSchema for FinalizeCommand
impl JsonSchema for FinalizeCommand
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 moreAuto Trait Implementations§
impl Freeze for FinalizeCommand
impl RefUnwindSafe for FinalizeCommand
impl Send for FinalizeCommand
impl Sync for FinalizeCommand
impl Unpin for FinalizeCommand
impl UnsafeUnpin for FinalizeCommand
impl UnwindSafe for FinalizeCommand
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