pub struct RuntimeEntryDescriptor {
pub canonical_name: String,
pub skill_id: String,
pub local_name: String,
pub root_name: String,
pub skill_dir: String,
pub description: String,
pub parameters: Vec<RuntimeEntryParameterDescriptor>,
}Expand description
Generic runtime entry descriptor that stays independent from MCP tool/resource concepts. 独立于 MCP tool/resource 概念的通用运行时入口描述对象。
Fields§
§canonical_name: StringCanonical runtime entry identifier in skill_id-entry_name[-N] format.
采用 skill_id-entry_name[-N] 形式的 canonical 运行时入口标识。
skill_id: StringStable skill namespace that owns the entry. 拥有该入口的稳定 skill 命名空间。
local_name: StringStable local entry name declared by the skill. 由 skill 声明的稳定局部入口名称。
root_name: StringNamed skill root that currently owns the effective skill instance. 当前生效技能实例所属的命名技能根。
skill_dir: StringPhysical skill directory of the current effective skill instance. 当前生效技能实例对应的物理技能目录。
description: StringHuman-readable entry description. 人类可读的入口描述。
parameters: Vec<RuntimeEntryParameterDescriptor>Parameter descriptors of the current entry. 当前入口的参数描述列表。
Trait Implementations§
Source§impl Clone for RuntimeEntryDescriptor
impl Clone for RuntimeEntryDescriptor
Source§fn clone(&self) -> RuntimeEntryDescriptor
fn clone(&self) -> RuntimeEntryDescriptor
Returns a duplicate of the value. Read more
1.0.0 · 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 RuntimeEntryDescriptor
impl Debug for RuntimeEntryDescriptor
Source§impl<'de> Deserialize<'de> for RuntimeEntryDescriptor
impl<'de> Deserialize<'de> for RuntimeEntryDescriptor
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 PartialEq for RuntimeEntryDescriptor
impl PartialEq for RuntimeEntryDescriptor
Source§impl Serialize for RuntimeEntryDescriptor
impl Serialize for RuntimeEntryDescriptor
impl Eq for RuntimeEntryDescriptor
impl StructuralPartialEq for RuntimeEntryDescriptor
Auto Trait Implementations§
impl Freeze for RuntimeEntryDescriptor
impl RefUnwindSafe for RuntimeEntryDescriptor
impl Send for RuntimeEntryDescriptor
impl Sync for RuntimeEntryDescriptor
impl Unpin for RuntimeEntryDescriptor
impl UnsafeUnpin for RuntimeEntryDescriptor
impl UnwindSafe for RuntimeEntryDescriptor
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