pub struct TextContentAnnotation {
pub url_citation: Option<UrlCitation>,
pub file_citation: Option<FileCitation>,
pub place_citation: Option<PlaceCitation>,
pub word_info: Option<WordInfo>,
pub start_index: Option<i32>,
pub end_index: Option<i32>,
}Expand description
genai.TextContent.Annotation
Fields§
§url_citation: Option<UrlCitation>§file_citation: Option<FileCitation>§place_citation: Option<PlaceCitation>§word_info: Option<WordInfo>§start_index: Option<i32>§end_index: Option<i32>Implementations§
Trait Implementations§
Source§impl Clone for TextContentAnnotation
impl Clone for TextContentAnnotation
Source§fn clone(&self) -> TextContentAnnotation
fn clone(&self) -> TextContentAnnotation
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 Debug for TextContentAnnotation
impl Debug for TextContentAnnotation
Source§impl Default for TextContentAnnotation
impl Default for TextContentAnnotation
Source§fn default() -> TextContentAnnotation
fn default() -> TextContentAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextContentAnnotation
impl<'de> Deserialize<'de> for TextContentAnnotation
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 TextContentAnnotation
impl PartialEq for TextContentAnnotation
Source§impl Serialize for TextContentAnnotation
impl Serialize for TextContentAnnotation
impl StructuralPartialEq for TextContentAnnotation
Auto Trait Implementations§
impl Freeze for TextContentAnnotation
impl RefUnwindSafe for TextContentAnnotation
impl Send for TextContentAnnotation
impl Sync for TextContentAnnotation
impl Unpin for TextContentAnnotation
impl UnsafeUnpin for TextContentAnnotation
impl UnwindSafe for TextContentAnnotation
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