pub struct Argument {
pub df_type: Option<String>,
pub text: Option<String>,
pub plural: Option<bool>,
pub optional: Option<bool>,
pub description: Option<Vec<String>>,
pub notes: Option<Vec<Vec<String>>>,
}Expand description
An argument to a code action.
Sometimes used for intermediate notes.
Fields§
§df_type: Option<String>The input type of the argument.
text: Option<String>Additional text to display with the argument.
plural: Option<bool>Whether the argument can be repeated.
optional: Option<bool>Whether the argument is optional.
description: Option<Vec<String>>The description of the argument.
notes: Option<Vec<Vec<String>>>Any notes going along with the argument.
Each element in the outer Vec is one note.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Argument
impl<'de> Deserialize<'de> for Argument
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
impl Eq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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