pub struct GoogleCloudDatalabelingV1beta1LabelTextRequest {
pub basic_config: Option<GoogleCloudDatalabelingV1beta1HumanAnnotationConfig>,
pub feature: Option<String>,
pub text_classification_config: Option<GoogleCloudDatalabelingV1beta1TextClassificationConfig>,
pub text_entity_extraction_config: Option<GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig>,
}
Expand description
Request message for LabelText.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- datasets text label projects (request)
Fields§
§basic_config: Option<GoogleCloudDatalabelingV1beta1HumanAnnotationConfig>
Required. Basic human annotation config.
feature: Option<String>
Required. The type of text labeling task.
text_classification_config: Option<GoogleCloudDatalabelingV1beta1TextClassificationConfig>
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
text_entity_extraction_config: Option<GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig>
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1LabelTextRequest
impl Clone for GoogleCloudDatalabelingV1beta1LabelTextRequest
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1LabelTextRequest
fn clone(&self) -> GoogleCloudDatalabelingV1beta1LabelTextRequest
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 GoogleCloudDatalabelingV1beta1LabelTextRequest
impl Default for GoogleCloudDatalabelingV1beta1LabelTextRequest
source§fn default() -> GoogleCloudDatalabelingV1beta1LabelTextRequest
fn default() -> GoogleCloudDatalabelingV1beta1LabelTextRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1LabelTextRequest
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1LabelTextRequest
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 RequestValue for GoogleCloudDatalabelingV1beta1LabelTextRequest
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1LabelTextRequest
impl Send for GoogleCloudDatalabelingV1beta1LabelTextRequest
impl Sync for GoogleCloudDatalabelingV1beta1LabelTextRequest
impl Unpin for GoogleCloudDatalabelingV1beta1LabelTextRequest
impl UnwindSafe for GoogleCloudDatalabelingV1beta1LabelTextRequest
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