pub struct ChatCompletionResponseMessageUrlCitation {
pub end_index: i32,
pub start_index: i32,
pub title: String,
pub url: String,
}
Fields§
§end_index: i32
The index of the last character of the URL citation in the message.
start_index: i32
The index of the first character of the URL citation in the message.
title: String
The title of the web resource.
url: String
The URL of the web resource.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionResponseMessageUrlCitation
impl<'de> Deserialize<'de> for ChatCompletionResponseMessageUrlCitation
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 ChatCompletionResponseMessageUrlCitation
impl RefUnwindSafe for ChatCompletionResponseMessageUrlCitation
impl Send for ChatCompletionResponseMessageUrlCitation
impl Sync for ChatCompletionResponseMessageUrlCitation
impl Unpin for ChatCompletionResponseMessageUrlCitation
impl UnwindSafe for ChatCompletionResponseMessageUrlCitation
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