pub struct ArgumentInfo {
pub name: String,
pub value: String,
}
Expand description
Information about the argument being completed
Fields§
§name: String
The name of the argument
value: String
The value of the argument to use for completion matching
Trait Implementations§
Source§impl Clone for ArgumentInfo
impl Clone for ArgumentInfo
Source§fn clone(&self) -> ArgumentInfo
fn clone(&self) -> ArgumentInfo
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 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 PartialEq for ArgumentInfo
impl PartialEq for ArgumentInfo
Source§impl Serialize for ArgumentInfo
impl Serialize for ArgumentInfo
impl StructuralPartialEq for ArgumentInfo
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