pub struct OperationRecord {
pub id: String,
pub runtime_id: String,
pub target_id: String,
pub action: String,
pub state: OperationState,
pub outcome: ActionOutcome,
pub dispatch_intent: bool,
pub preparation_intent: bool,
pub started_at_ms: u64,
pub finished_at_ms: Option<u64>,
pub receipt: Option<ActionReceipt>,
pub error_code: Option<String>,
}Fields§
§id: String§runtime_id: String§target_id: String§action: String§state: OperationState§outcome: ActionOutcome§dispatch_intent: bool§preparation_intent: bool§started_at_ms: u64§finished_at_ms: Option<u64>§receipt: Option<ActionReceipt>§error_code: Option<String>Trait Implementations§
Source§impl Clone for OperationRecord
impl Clone for OperationRecord
Source§impl Debug for OperationRecord
impl Debug for OperationRecord
Source§impl<'de> Deserialize<'de> for OperationRecord
impl<'de> Deserialize<'de> for OperationRecord
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 OperationRecord
impl JsonSchema for OperationRecord
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 OperationRecord
impl RefUnwindSafe for OperationRecord
impl Send for OperationRecord
impl Sync for OperationRecord
impl Unpin for OperationRecord
impl UnsafeUnpin for OperationRecord
impl UnwindSafe for OperationRecord
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