pub struct GoogleCloudDatalabelingV1beta1TextMetadata {
pub language_code: Option<String>,
}
Expand description
Metadata for the text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§language_code: Option<String>
The language of this text, as a BCP-47. Default value is en-US.
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1TextMetadata
impl Clone for GoogleCloudDatalabelingV1beta1TextMetadata
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1TextMetadata
fn clone(&self) -> GoogleCloudDatalabelingV1beta1TextMetadata
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 Default for GoogleCloudDatalabelingV1beta1TextMetadata
impl Default for GoogleCloudDatalabelingV1beta1TextMetadata
source§fn default() -> GoogleCloudDatalabelingV1beta1TextMetadata
fn default() -> GoogleCloudDatalabelingV1beta1TextMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1TextMetadata
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1TextMetadata
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 Part for GoogleCloudDatalabelingV1beta1TextMetadata
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1TextMetadata
impl Send for GoogleCloudDatalabelingV1beta1TextMetadata
impl Sync for GoogleCloudDatalabelingV1beta1TextMetadata
impl Unpin for GoogleCloudDatalabelingV1beta1TextMetadata
impl UnwindSafe for GoogleCloudDatalabelingV1beta1TextMetadata
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