pub struct DetectionsResourceNested {
pub confidence: Option<f32>,
pub is_reliable: Option<bool>,
pub language: Option<String>,
}Expand description
An array of languages which we detect for the given text The most likely language list first.
This type is not used in any activity, and only used as part of another schema.
Fields§
§confidence: Option<f32>The confidence of the detection result of this language.
is_reliable: Option<bool>A boolean to indicate is the language detection result reliable.
language: Option<String>The language we detected.
Trait Implementations§
Source§impl Clone for DetectionsResourceNested
impl Clone for DetectionsResourceNested
Source§fn clone(&self) -> DetectionsResourceNested
fn clone(&self) -> DetectionsResourceNested
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 DetectionsResourceNested
impl Debug for DetectionsResourceNested
Source§impl Default for DetectionsResourceNested
impl Default for DetectionsResourceNested
Source§fn default() -> DetectionsResourceNested
fn default() -> DetectionsResourceNested
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetectionsResourceNested
impl<'de> Deserialize<'de> for DetectionsResourceNested
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 Serialize for DetectionsResourceNested
impl Serialize for DetectionsResourceNested
impl NestedType for DetectionsResourceNested
impl Part for DetectionsResourceNested
Auto Trait Implementations§
impl Freeze for DetectionsResourceNested
impl RefUnwindSafe for DetectionsResourceNested
impl Send for DetectionsResourceNested
impl Sync for DetectionsResourceNested
impl Unpin for DetectionsResourceNested
impl UnwindSafe for DetectionsResourceNested
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