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.
Implementations§
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
Source§impl From<&CompleteRequestParamsArgument> for CompleteRequestParamsArgument
impl From<&CompleteRequestParamsArgument> for CompleteRequestParamsArgument
Source§fn from(value: &CompleteRequestParamsArgument) -> Self
fn from(value: &CompleteRequestParamsArgument) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompleteRequestParamsArgument
impl PartialEq for CompleteRequestParamsArgument
Source§fn eq(&self, other: &CompleteRequestParamsArgument) -> bool
fn eq(&self, other: &CompleteRequestParamsArgument) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CompleteRequestParamsArgument
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