pub struct CompleteRequestArgument {
pub name: String,
pub value: String,
}Expand description
The argument’s information
JSON schema
{
"description": "The argument's information",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"description": "The name of the argument",
"type": "string"
},
"value": {
"description": "The value of the argument to use for completion matching.",
"type": "string"
}
}
}Fields§
§name: StringThe name of the argument
value: StringThe value of the argument to use for completion matching.
Trait Implementations§
Source§impl Clone for CompleteRequestArgument
impl Clone for CompleteRequestArgument
Source§fn clone(&self) -> CompleteRequestArgument
fn clone(&self) -> CompleteRequestArgument
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 CompleteRequestArgument
impl Debug for CompleteRequestArgument
Source§impl<'de> Deserialize<'de> for CompleteRequestArgument
impl<'de> Deserialize<'de> for CompleteRequestArgument
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 CompleteRequestArgument
impl RefUnwindSafe for CompleteRequestArgument
impl Send for CompleteRequestArgument
impl Sync for CompleteRequestArgument
impl Unpin for CompleteRequestArgument
impl UnwindSafe for CompleteRequestArgument
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