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