pub struct CommandInput {
pub name: String,
pub documentation: String,
pub typing: Type,
pub optional: bool,
pub tainting: bool,
pub check_required: bool,
pub check_performed: bool,
pub sensitive: bool,
pub internal: bool,
pub self_referencing: bool,
}Fields§
§name: String§documentation: String§typing: Type§optional: bool§tainting: bool§check_required: bool§check_performed: bool§sensitive: bool§internal: bool§self_referencing: boolImplementations§
Source§impl CommandInput
impl CommandInput
Trait Implementations§
Source§impl Clone for CommandInput
impl Clone for CommandInput
Source§fn clone(&self) -> CommandInput
fn clone(&self) -> CommandInput
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 CommandInput
impl Debug for CommandInput
Source§impl EvaluatableInput for CommandInput
impl EvaluatableInput for CommandInput
fn documentation(&self) -> String
fn optional(&self) -> bool
fn typing(&self) -> &Type
fn name(&self) -> String
fn as_object(&self) -> Option<&ObjectDefinition>
fn as_array(&self) -> Option<&Box<Type>>
fn as_action(&self) -> Option<&String>
fn as_map(&self) -> Option<&ObjectDefinition>
Source§impl Hash for CommandInput
impl Hash for CommandInput
Source§impl PartialEq for CommandInput
impl PartialEq for CommandInput
Source§impl Serialize for CommandInput
impl Serialize for CommandInput
impl Eq for CommandInput
impl StructuralPartialEq for CommandInput
Auto Trait Implementations§
impl Freeze for CommandInput
impl RefUnwindSafe for CommandInput
impl Send for CommandInput
impl Sync for CommandInput
impl Unpin for CommandInput
impl UnwindSafe for CommandInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.