Struct aleph_alpha_client::TextScore
source · pub struct TextScore {
pub start: u32,
pub length: u32,
pub score: f32,
}
Expand description
Score for the part of a text-modality
Fields§
§start: u32
§length: u32
§score: f32
Trait Implementations§
source§impl<'de> Deserialize<'de> for TextScore
impl<'de> Deserialize<'de> for TextScore
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<TextScore> for TextScore
impl PartialEq<TextScore> for TextScore
impl StructuralPartialEq for TextScore
Auto Trait Implementations§
impl RefUnwindSafe for TextScore
impl Send for TextScore
impl Sync for TextScore
impl Unpin for TextScore
impl UnwindSafe for TextScore
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