Skip to main content

CreateResponse

Type Alias CreateResponse 

Source
pub type CreateResponse = ResponseBase;

Aliased Type§

pub struct CreateResponse {
    pub activity_id: Uuid,
    pub result: i32,
    pub error_message: String,
    pub error_records: Value,
}

Fields§

§activity_id: Uuid§result: i32

HRESULT i32 — 0 = success, negative = failure. Matches Windows HRESULT layout (top bit = severity).

§error_message: String§error_records: Value

On 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”.