pub struct AnswerGroundingSpanResponse {
pub text: String,
pub start_byte: usize,
pub end_byte: usize,
pub support_q16: u16,
pub supported: bool,
pub covered_terms: Vec<String>,
pub missing_terms: Vec<String>,
pub supported_by_cell_ids: Vec<u64>,
pub citations: Vec<String>,
}Fields§
§text: String§start_byte: usize§end_byte: usize§support_q16: u16§supported: bool§covered_terms: Vec<String>§missing_terms: Vec<String>§supported_by_cell_ids: Vec<u64>§citations: Vec<String>Trait Implementations§
Source§impl Clone for AnswerGroundingSpanResponse
impl Clone for AnswerGroundingSpanResponse
Source§fn clone(&self) -> AnswerGroundingSpanResponse
fn clone(&self) -> AnswerGroundingSpanResponse
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 AnswerGroundingSpanResponse
impl Debug for AnswerGroundingSpanResponse
Source§impl<'de> Deserialize<'de> for AnswerGroundingSpanResponse
impl<'de> Deserialize<'de> for AnswerGroundingSpanResponse
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
impl Eq for AnswerGroundingSpanResponse
Source§impl PartialEq for AnswerGroundingSpanResponse
impl PartialEq for AnswerGroundingSpanResponse
Source§fn eq(&self, other: &AnswerGroundingSpanResponse) -> bool
fn eq(&self, other: &AnswerGroundingSpanResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnswerGroundingSpanResponse
Auto Trait Implementations§
impl Freeze for AnswerGroundingSpanResponse
impl RefUnwindSafe for AnswerGroundingSpanResponse
impl Send for AnswerGroundingSpanResponse
impl Sync for AnswerGroundingSpanResponse
impl Unpin for AnswerGroundingSpanResponse
impl UnsafeUnpin for AnswerGroundingSpanResponse
impl UnwindSafe for AnswerGroundingSpanResponse
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