Struct google_vision1::api::TextProperty
source · pub struct TextProperty {
pub detected_break: Option<DetectedBreak>,
pub detected_languages: Option<Vec<DetectedLanguage>>,
}
Expand description
Additional information detected on the structural component.
This type is not used in any activity, and only used as part of another schema.
Fields§
§detected_break: Option<DetectedBreak>
Detected start or end of a text segment.
detected_languages: Option<Vec<DetectedLanguage>>
A list of detected languages together with confidence.
Trait Implementations§
source§impl Clone for TextProperty
impl Clone for TextProperty
source§fn clone(&self) -> TextProperty
fn clone(&self) -> TextProperty
Returns a copy 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 TextProperty
impl Debug for TextProperty
source§impl Default for TextProperty
impl Default for TextProperty
source§fn default() -> TextProperty
fn default() -> TextProperty
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TextProperty
impl<'de> Deserialize<'de> for TextProperty
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 TextProperty
impl Serialize for TextProperty
impl Part for TextProperty
Auto Trait Implementations§
impl RefUnwindSafe for TextProperty
impl Send for TextProperty
impl Sync for TextProperty
impl Unpin for TextProperty
impl UnwindSafe for TextProperty
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