pub struct ChatCompletionResponseMessageAnnotation {
pub url_citation: ChatCompletionResponseMessageAnnotationUrlCitation,
}
Expand description
A URL citation when using web search.
Fields§
§url_citation: ChatCompletionResponseMessageAnnotationUrlCitation
A URL citation when using web search.
Implementations§
Source§impl ChatCompletionResponseMessageAnnotation
impl ChatCompletionResponseMessageAnnotation
Sourcepub fn builder() -> ChatCompletionResponseMessageAnnotationBuilder<((),)>
pub fn builder() -> ChatCompletionResponseMessageAnnotationBuilder<((),)>
Create a builder for building ChatCompletionResponseMessageAnnotation
.
On the builder, call .url_citation(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ChatCompletionResponseMessageAnnotation
.
Trait Implementations§
Source§impl Clone for ChatCompletionResponseMessageAnnotation
impl Clone for ChatCompletionResponseMessageAnnotation
Source§fn clone(&self) -> ChatCompletionResponseMessageAnnotation
fn clone(&self) -> ChatCompletionResponseMessageAnnotation
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<'de> Deserialize<'de> for ChatCompletionResponseMessageAnnotation
impl<'de> Deserialize<'de> for ChatCompletionResponseMessageAnnotation
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 PartialEq for ChatCompletionResponseMessageAnnotation
impl PartialEq for ChatCompletionResponseMessageAnnotation
Source§fn eq(&self, other: &ChatCompletionResponseMessageAnnotation) -> bool
fn eq(&self, other: &ChatCompletionResponseMessageAnnotation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatCompletionResponseMessageAnnotation
Auto Trait Implementations§
impl Freeze for ChatCompletionResponseMessageAnnotation
impl RefUnwindSafe for ChatCompletionResponseMessageAnnotation
impl Send for ChatCompletionResponseMessageAnnotation
impl Sync for ChatCompletionResponseMessageAnnotation
impl Unpin for ChatCompletionResponseMessageAnnotation
impl UnwindSafe for ChatCompletionResponseMessageAnnotation
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