pub struct RuntimeHelpNodeDescriptor {
pub flow_name: String,
pub description: String,
pub related_entries: Vec<String>,
pub is_main: bool,
}Expand description
One structured help node descriptor returned to host-side system tool wrappers. 返回给宿主侧 system tool 包装层的单个结构化帮助节点描述。
Fields§
§flow_name: StringStable node name. The main node always uses main.
稳定节点名称,主节点固定使用 main。
description: StringHuman-readable short description of the current help node. 当前帮助节点的人类可读简要说明。
Canonical runtime entries related to the current help node. 与当前帮助节点关联的 canonical 运行时入口列表。
is_main: boolWhether the current node is the main help node of one skill. 当前节点是否为某个 skill 的主帮助节点。
Trait Implementations§
Source§impl Clone for RuntimeHelpNodeDescriptor
impl Clone for RuntimeHelpNodeDescriptor
Source§fn clone(&self) -> RuntimeHelpNodeDescriptor
fn clone(&self) -> RuntimeHelpNodeDescriptor
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 RuntimeHelpNodeDescriptor
impl Debug for RuntimeHelpNodeDescriptor
Source§impl<'de> Deserialize<'de> for RuntimeHelpNodeDescriptor
impl<'de> Deserialize<'de> for RuntimeHelpNodeDescriptor
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
Auto Trait Implementations§
impl Freeze for RuntimeHelpNodeDescriptor
impl RefUnwindSafe for RuntimeHelpNodeDescriptor
impl Send for RuntimeHelpNodeDescriptor
impl Sync for RuntimeHelpNodeDescriptor
impl Unpin for RuntimeHelpNodeDescriptor
impl UnsafeUnpin for RuntimeHelpNodeDescriptor
impl UnwindSafe for RuntimeHelpNodeDescriptor
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<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