pub struct GroundingSegment {
pub start_index: Option<u32>,
pub end_index: Option<u32>,
pub text: Option<String>,
}Expand description
A segment of response text
Fields§
§start_index: Option<u32>Start index of the segment in the response text
end_index: Option<u32>End index of the segment in the response text
text: Option<String>The text content of the segment
Trait Implementations§
Source§impl Clone for GroundingSegment
impl Clone for GroundingSegment
Source§fn clone(&self) -> GroundingSegment
fn clone(&self) -> GroundingSegment
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 Debug for GroundingSegment
impl Debug for GroundingSegment
Source§impl<'de> Deserialize<'de> for GroundingSegment
impl<'de> Deserialize<'de> for GroundingSegment
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 GroundingSegment
impl PartialEq for GroundingSegment
Source§impl Serialize for GroundingSegment
impl Serialize for GroundingSegment
impl StructuralPartialEq for GroundingSegment
Auto Trait Implementations§
impl Freeze for GroundingSegment
impl RefUnwindSafe for GroundingSegment
impl Send for GroundingSegment
impl Sync for GroundingSegment
impl Unpin for GroundingSegment
impl UnwindSafe for GroundingSegment
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