pub struct ItemContext {
pub task_id: String,
pub turn_id: String,
pub actor_id: String,
pub parent_actor_id: Option<String>,
pub timestamp: String,
pub activity: Option<CommandActivity>,
}Expand description
Item identity, timing, and command semantics for explanation consumers.
Fields§
§task_id: String§turn_id: String§actor_id: String§parent_actor_id: Option<String>§timestamp: String§activity: Option<CommandActivity>Trait Implementations§
Source§impl Clone for ItemContext
impl Clone for ItemContext
Source§impl Debug for ItemContext
impl Debug for ItemContext
Source§impl<'de> Deserialize<'de> for ItemContext
impl<'de> Deserialize<'de> for ItemContext
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 ItemContext
Source§impl JsonSchema for ItemContext
impl JsonSchema for ItemContext
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 ItemContext
impl PartialEq for ItemContext
Source§impl Serialize for ItemContext
impl Serialize for ItemContext
impl StructuralPartialEq for ItemContext
Auto Trait Implementations§
impl Freeze for ItemContext
impl RefUnwindSafe for ItemContext
impl Send for ItemContext
impl Sync for ItemContext
impl Unpin for ItemContext
impl UnsafeUnpin for ItemContext
impl UnwindSafe for ItemContext
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.