pub struct DescribedArg {
pub name: String,
pub type: String,
pub description: String,
pub required: bool,
}Expand description
One argument of a DescribedTool (Contract 1).
Fields§
§name: String§type: String§description: String§required: boolTrait Implementations§
Source§impl Clone for DescribedArg
impl Clone for DescribedArg
Source§fn clone(&self) -> DescribedArg
fn clone(&self) -> DescribedArg
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 DescribedArg
impl Debug for DescribedArg
Source§impl<'de> Deserialize<'de> for DescribedArg
impl<'de> Deserialize<'de> for DescribedArg
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 DescribedArg
impl RefUnwindSafe for DescribedArg
impl Send for DescribedArg
impl Sync for DescribedArg
impl Unpin for DescribedArg
impl UnsafeUnpin for DescribedArg
impl UnwindSafe for DescribedArg
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