pub type ShutdownResponse = ResponseBase;Aliased Type§
pub struct ShutdownResponse {
pub activity_id: Uuid,
pub result: i32,
pub error_message: String,
pub error_records: Value,
}Fields§
§activity_id: Uuid§result: i32HRESULT i32 — 0 = success, negative = failure. Matches Windows HRESULT layout (top bit = severity).
error_message: String§error_records: ValueOn failure, the in-guest GCS populates this with a JSON array of
ErrorRecord objects (e.g.
[{"Result":-1070137077,"Message":"...","ModuleName":"vmcomputeagent.exe",...}]).
It is kept as a raw serde_json::Value so callers can render or parse
it on demand; a String field here fails to deserialize the guest’s
array shape with “invalid type: sequence, expected a string”.