pub struct RuntimeSkillLifecycleEvent {
pub plane: SkillOperationPlane,
pub action: SkillLifecycleAction,
pub skill_id: String,
pub root_name: Option<String>,
pub skill_dir: Option<String>,
pub status: String,
pub message: Option<String>,
}Expand description
Structured lifecycle event emitted after one skill-management operation is evaluated. 在评估一次技能管理操作后发出的结构化生命周期事件。
Fields§
§plane: SkillOperationPlaneOperation plane that triggered the lifecycle event. 触发生命周期事件的操作平面。
action: SkillLifecycleActionLifecycle action represented by the current event. 当前事件所表示的生命周期动作。
skill_id: StringSkill identifier targeted by the current lifecycle operation. 当前生命周期操作对应的技能标识符。
root_name: Option<String>Optional named skill root that owns the effective target skill instance. 拥有当前生效目标技能实例的可选命名技能根。
skill_dir: Option<String>Optional physical skill directory of the effective target skill instance. 当前生效目标技能实例的可选物理技能目录。
status: StringHigh-level event status such as completed, failed, or blocked. 当前事件的高层状态,例如 completed、failed 或 blocked。
message: Option<String>Optional human-readable explanation of the current lifecycle outcome. 当前生命周期结果的可选人类可读说明。
Trait Implementations§
Source§impl Clone for RuntimeSkillLifecycleEvent
impl Clone for RuntimeSkillLifecycleEvent
Source§fn clone(&self) -> RuntimeSkillLifecycleEvent
fn clone(&self) -> RuntimeSkillLifecycleEvent
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 RuntimeSkillLifecycleEvent
impl Debug for RuntimeSkillLifecycleEvent
Source§impl PartialEq for RuntimeSkillLifecycleEvent
impl PartialEq for RuntimeSkillLifecycleEvent
Source§fn eq(&self, other: &RuntimeSkillLifecycleEvent) -> bool
fn eq(&self, other: &RuntimeSkillLifecycleEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RuntimeSkillLifecycleEvent
impl StructuralPartialEq for RuntimeSkillLifecycleEvent
Auto Trait Implementations§
impl Freeze for RuntimeSkillLifecycleEvent
impl RefUnwindSafe for RuntimeSkillLifecycleEvent
impl Send for RuntimeSkillLifecycleEvent
impl Sync for RuntimeSkillLifecycleEvent
impl Unpin for RuntimeSkillLifecycleEvent
impl UnsafeUnpin for RuntimeSkillLifecycleEvent
impl UnwindSafe for RuntimeSkillLifecycleEvent
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request