pub struct CompleteResultCompletion {
pub has_more: Option<bool>,
pub total: Option<i64>,
pub values: Vec<String>,
}
Expand description
CompleteResultCompletion
JSON schema
{
"type": "object",
"required": [
"values"
],
"properties": {
"hasMore": {
"description": "Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.",
"type": "boolean"
},
"total": {
"description": "The total number of completion options available. This can exceed the number of values actually sent in the response.",
"type": "integer"
},
"values": {
"description": "An array of completion values. Must not exceed 100 items.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
Fields§
§has_more: Option<bool>
Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.
total: Option<i64>
The total number of completion options available. This can exceed the number of values actually sent in the response.
values: Vec<String>
An array of completion values. Must not exceed 100 items.
Trait Implementations§
Source§impl Clone for CompleteResultCompletion
impl Clone for CompleteResultCompletion
Source§fn clone(&self) -> CompleteResultCompletion
fn clone(&self) -> CompleteResultCompletion
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 Debug for CompleteResultCompletion
impl Debug for CompleteResultCompletion
Source§impl<'de> Deserialize<'de> for CompleteResultCompletion
impl<'de> Deserialize<'de> for CompleteResultCompletion
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompleteResultCompletion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CompleteResultCompletion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CompleteResultCompletion
impl Serialize for CompleteResultCompletion
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CompleteResultCompletion
impl RefUnwindSafe for CompleteResultCompletion
impl Send for CompleteResultCompletion
impl Sync for CompleteResultCompletion
impl Unpin for CompleteResultCompletion
impl UnwindSafe for CompleteResultCompletion
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