pub struct ArgumentInfo {
pub name: String,
pub argument_type: String,
pub description: String,
pub required: bool,
pub default_value: Option<Value>,
}
Expand description
Argument information response
Fields§
§name: String
§argument_type: String
§description: String
§required: bool
§default_value: Option<Value>
Trait Implementations§
Source§impl Clone for ArgumentInfo
impl Clone for ArgumentInfo
Source§fn clone(&self) -> ArgumentInfo
fn clone(&self) -> ArgumentInfo
Returns a copy 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 ArgumentInfo
impl Debug for ArgumentInfo
Source§impl<'de> Deserialize<'de> for ArgumentInfo
impl<'de> Deserialize<'de> for ArgumentInfo
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 From<ArgumentMetadata> for ArgumentInfo
impl From<ArgumentMetadata> for ArgumentInfo
Source§fn from(metadata: ArgumentMetadata) -> Self
fn from(metadata: ArgumentMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArgumentInfo
impl RefUnwindSafe for ArgumentInfo
impl Send for ArgumentInfo
impl Sync for ArgumentInfo
impl Unpin for ArgumentInfo
impl UnwindSafe for ArgumentInfo
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