pub struct RuntimeEntryParameterDescriptor {
pub name: String,
pub param_type: String,
pub description: String,
pub required: bool,
}Expand description
One parameter descriptor exposed by a LuaSkills runtime entry. LuaSkills 运行时入口对外暴露的单个参数描述。
Fields§
§name: StringStable local parameter name. 稳定的局部参数名称。
param_type: StringRuntime parameter type string. 运行时参数类型字符串。
description: StringHuman-readable parameter description. 人类可读的参数说明。
required: boolWhether the parameter is required. 当前参数是否必填。
Trait Implementations§
Source§impl Clone for RuntimeEntryParameterDescriptor
impl Clone for RuntimeEntryParameterDescriptor
Source§fn clone(&self) -> RuntimeEntryParameterDescriptor
fn clone(&self) -> RuntimeEntryParameterDescriptor
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<'de> Deserialize<'de> for RuntimeEntryParameterDescriptor
impl<'de> Deserialize<'de> for RuntimeEntryParameterDescriptor
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 RuntimeEntryParameterDescriptor
impl PartialEq for RuntimeEntryParameterDescriptor
Source§fn eq(&self, other: &RuntimeEntryParameterDescriptor) -> bool
fn eq(&self, other: &RuntimeEntryParameterDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RuntimeEntryParameterDescriptor
impl StructuralPartialEq for RuntimeEntryParameterDescriptor
Auto Trait Implementations§
impl Freeze for RuntimeEntryParameterDescriptor
impl RefUnwindSafe for RuntimeEntryParameterDescriptor
impl Send for RuntimeEntryParameterDescriptor
impl Sync for RuntimeEntryParameterDescriptor
impl Unpin for RuntimeEntryParameterDescriptor
impl UnsafeUnpin for RuntimeEntryParameterDescriptor
impl UnwindSafe for RuntimeEntryParameterDescriptor
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