pub struct TextAnnotationSpan {
pub span: TextSpan,
pub token_start: Option<usize>,
pub token_end: Option<usize>,
pub source_segment_id: Option<String>,
}Fields§
§span: TextSpan§token_start: Option<usize>§token_end: Option<usize>§source_segment_id: Option<String>Trait Implementations§
Source§impl Clone for TextAnnotationSpan
impl Clone for TextAnnotationSpan
Source§fn clone(&self) -> TextAnnotationSpan
fn clone(&self) -> TextAnnotationSpan
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 TextAnnotationSpan
impl Debug for TextAnnotationSpan
Source§impl<'de> Deserialize<'de> for TextAnnotationSpan
impl<'de> Deserialize<'de> for TextAnnotationSpan
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 TextAnnotationSpan
Source§impl PartialEq for TextAnnotationSpan
impl PartialEq for TextAnnotationSpan
Source§fn eq(&self, other: &TextAnnotationSpan) -> bool
fn eq(&self, other: &TextAnnotationSpan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextAnnotationSpan
impl Serialize for TextAnnotationSpan
impl StructuralPartialEq for TextAnnotationSpan
Auto Trait Implementations§
impl Freeze for TextAnnotationSpan
impl RefUnwindSafe for TextAnnotationSpan
impl Send for TextAnnotationSpan
impl Sync for TextAnnotationSpan
impl Unpin for TextAnnotationSpan
impl UnsafeUnpin for TextAnnotationSpan
impl UnwindSafe for TextAnnotationSpan
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