Struct teaclave_types::FunctionInput
source · [−]pub struct FunctionInput {
pub name: String,
pub description: String,
pub optional: bool,
}
Fields
name: String
description: String
optional: bool
Implementations
sourceimpl FunctionInput
impl FunctionInput
Trait Implementations
sourceimpl Debug for FunctionInput
impl Debug for FunctionInput
sourceimpl<'de> Deserialize<'de> for FunctionInput
impl<'de> Deserialize<'de> for FunctionInput
sourcefn 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
sourceimpl Serialize for FunctionInput
impl Serialize for FunctionInput
Auto Trait Implementations
impl RefUnwindSafe for FunctionInput
impl Send for FunctionInput
impl Sync for FunctionInput
impl Unpin for FunctionInput
impl UnwindSafe for FunctionInput
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request