pub struct GoogleCloudDatalabelingV1beta1OperatorMetadata {
pub comments: Option<Vec<String>>,
pub label_votes: Option<i32>,
pub score: Option<f32>,
pub total_votes: Option<i32>,
}
Expand description
General information useful for labels coming from contributors.
This type is not used in any activity, and only used as part of another schema.
Fields§
§comments: Option<Vec<String>>
Comments from contributors.
label_votes: Option<i32>
The total number of contributors that choose this label.
score: Option<f32>
Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3).
total_votes: Option<i32>
The total number of contributors that answer this question.
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1OperatorMetadata
impl Clone for GoogleCloudDatalabelingV1beta1OperatorMetadata
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1OperatorMetadata
fn clone(&self) -> GoogleCloudDatalabelingV1beta1OperatorMetadata
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 GoogleCloudDatalabelingV1beta1OperatorMetadata
impl Default for GoogleCloudDatalabelingV1beta1OperatorMetadata
source§fn default() -> GoogleCloudDatalabelingV1beta1OperatorMetadata
fn default() -> GoogleCloudDatalabelingV1beta1OperatorMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1OperatorMetadata
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1OperatorMetadata
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 GoogleCloudDatalabelingV1beta1OperatorMetadata
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1OperatorMetadata
impl Send for GoogleCloudDatalabelingV1beta1OperatorMetadata
impl Sync for GoogleCloudDatalabelingV1beta1OperatorMetadata
impl Unpin for GoogleCloudDatalabelingV1beta1OperatorMetadata
impl UnwindSafe for GoogleCloudDatalabelingV1beta1OperatorMetadata
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