pub struct AnnotationContainerFileCitation {
pub container_id: String,
pub end_index: i64,
pub file_id: String,
pub filename: String,
pub start_index: i64,
pub type_: String,
}Expand description
A citation for a container file used to generate a model response.
Fields§
§container_id: StringThe ID of the container file.
end_index: i64The index of the last character of the container file citation in the message.
file_id: StringThe ID of the file.
filename: StringThe filename of the container file cited.
start_index: i64The index of the first character of the container file citation in the message.
type_: StringThe type of the container file citation. Always container_file_citation.
Trait Implementations§
Source§impl Clone for AnnotationContainerFileCitation
impl Clone for AnnotationContainerFileCitation
Source§fn clone(&self) -> AnnotationContainerFileCitation
fn clone(&self) -> AnnotationContainerFileCitation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnnotationContainerFileCitation
impl<'de> Deserialize<'de> for AnnotationContainerFileCitation
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 AnnotationContainerFileCitation
impl RefUnwindSafe for AnnotationContainerFileCitation
impl Send for AnnotationContainerFileCitation
impl Sync for AnnotationContainerFileCitation
impl Unpin for AnnotationContainerFileCitation
impl UnsafeUnpin for AnnotationContainerFileCitation
impl UnwindSafe for AnnotationContainerFileCitation
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