Struct aws_sdk_mturk::model::ReviewResultDetail
source · [−]#[non_exhaustive]pub struct ReviewResultDetail {
pub action_id: Option<String>,
pub subject_id: Option<String>,
pub subject_type: Option<String>,
pub question_id: Option<String>,
pub key: Option<String>,
pub value: Option<String>,
}
Expand description
This data structure is returned multiple times for each result specified in the Review Policy.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action_id: Option<String>
A unique identifier of the Review action result.
subject_id: Option<String>
The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.
subject_type: Option<String>
The type of the object from the SubjectId field.
question_id: Option<String>
Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.
key: Option<String>
Key identifies the particular piece of reviewed information.
value: Option<String>
The values of Key provided by the review policies you have selected.
Implementations
sourceimpl ReviewResultDetail
impl ReviewResultDetail
sourcepub fn subject_id(&self) -> Option<&str>
pub fn subject_id(&self) -> Option<&str>
The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.
sourcepub fn subject_type(&self) -> Option<&str>
pub fn subject_type(&self) -> Option<&str>
The type of the object from the SubjectId field.
sourcepub fn question_id(&self) -> Option<&str>
pub fn question_id(&self) -> Option<&str>
Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.
sourceimpl ReviewResultDetail
impl ReviewResultDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReviewResultDetail
Trait Implementations
sourceimpl Clone for ReviewResultDetail
impl Clone for ReviewResultDetail
sourcefn clone(&self) -> ReviewResultDetail
fn clone(&self) -> ReviewResultDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReviewResultDetail
impl Debug for ReviewResultDetail
sourceimpl PartialEq<ReviewResultDetail> for ReviewResultDetail
impl PartialEq<ReviewResultDetail> for ReviewResultDetail
sourcefn eq(&self, other: &ReviewResultDetail) -> bool
fn eq(&self, other: &ReviewResultDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReviewResultDetail) -> bool
fn ne(&self, other: &ReviewResultDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReviewResultDetail
Auto Trait Implementations
impl RefUnwindSafe for ReviewResultDetail
impl Send for ReviewResultDetail
impl Sync for ReviewResultDetail
impl Unpin for ReviewResultDetail
impl UnwindSafe for ReviewResultDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more