pub struct CompleteRequestParamsArgument {
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: String
The name of the argument
value: String
The value of the argument to use for completion matching.
Trait Implementations§
Source§impl Clone for CompleteRequestParamsArgument
impl Clone for CompleteRequestParamsArgument
Source§fn clone(&self) -> CompleteRequestParamsArgument
fn clone(&self) -> CompleteRequestParamsArgument
Returns a copy 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<'de> Deserialize<'de> for CompleteRequestParamsArgument
impl<'de> Deserialize<'de> for CompleteRequestParamsArgument
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 CompleteRequestParamsArgument
impl RefUnwindSafe for CompleteRequestParamsArgument
impl Send for CompleteRequestParamsArgument
impl Sync for CompleteRequestParamsArgument
impl Unpin for CompleteRequestParamsArgument
impl UnwindSafe for CompleteRequestParamsArgument
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