pub struct ApiInputFieldSerde {
pub ident: Option<String>,
pub ty: String,
pub long: Option<String>,
pub short: Option<char>,
pub no_short: Option<bool>,
pub heading: Option<String>,
pub help: Option<String>,
pub long_help: Option<String>,
pub possible_values: Option<Vec<String>>,
pub required: Option<bool>,
pub num_args: Option<String>,
}
Fields§
§ident: Option<String>
§ty: String
§long: Option<String>
§short: Option<char>
§no_short: Option<bool>
§heading: Option<String>
§help: Option<String>
§long_help: Option<String>
§possible_values: Option<Vec<String>>
§required: Option<bool>
§num_args: Option<String>
Trait Implementations§
Source§impl Clone for ApiInputFieldSerde
impl Clone for ApiInputFieldSerde
Source§fn clone(&self) -> ApiInputFieldSerde
fn clone(&self) -> ApiInputFieldSerde
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 Debug for ApiInputFieldSerde
impl Debug for ApiInputFieldSerde
Source§impl<'de> Deserialize<'de> for ApiInputFieldSerde
impl<'de> Deserialize<'de> for ApiInputFieldSerde
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 ApiInputFieldSerde
impl RefUnwindSafe for ApiInputFieldSerde
impl Send for ApiInputFieldSerde
impl Sync for ApiInputFieldSerde
impl Unpin for ApiInputFieldSerde
impl UnwindSafe for ApiInputFieldSerde
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