Struct aws_sdk_mturk::model::QualificationRequest
source · [−]#[non_exhaustive]pub struct QualificationRequest {
pub qualification_request_id: Option<String>,
pub qualification_type_id: Option<String>,
pub worker_id: Option<String>,
pub test: Option<String>,
pub answer: Option<String>,
pub submit_time: Option<DateTime>,
}
Expand description
The QualificationRequest data structure represents a request a Worker has made for a Qualification.
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.qualification_request_id: Option<String>
The ID of the Qualification request, a unique identifier generated when the request was submitted.
qualification_type_id: Option<String>
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
worker_id: Option<String>
The ID of the Worker requesting the Qualification.
test: Option<String>
The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.
answer: Option<String>
The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.
submit_time: Option<DateTime>
The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.
Implementations
sourceimpl QualificationRequest
impl QualificationRequest
sourcepub fn qualification_request_id(&self) -> Option<&str>
pub fn qualification_request_id(&self) -> Option<&str>
The ID of the Qualification request, a unique identifier generated when the request was submitted.
sourcepub fn qualification_type_id(&self) -> Option<&str>
pub fn qualification_type_id(&self) -> Option<&str>
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
sourcepub fn test(&self) -> Option<&str>
pub fn test(&self) -> Option<&str>
The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.
sourcepub fn answer(&self) -> Option<&str>
pub fn answer(&self) -> Option<&str>
The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.
sourcepub fn submit_time(&self) -> Option<&DateTime>
pub fn submit_time(&self) -> Option<&DateTime>
The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.
sourceimpl QualificationRequest
impl QualificationRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QualificationRequest
Trait Implementations
sourceimpl Clone for QualificationRequest
impl Clone for QualificationRequest
sourcefn clone(&self) -> QualificationRequest
fn clone(&self) -> QualificationRequest
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 QualificationRequest
impl Debug for QualificationRequest
sourceimpl PartialEq<QualificationRequest> for QualificationRequest
impl PartialEq<QualificationRequest> for QualificationRequest
sourcefn eq(&self, other: &QualificationRequest) -> bool
fn eq(&self, other: &QualificationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QualificationRequest) -> bool
fn ne(&self, other: &QualificationRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for QualificationRequest
Auto Trait Implementations
impl RefUnwindSafe for QualificationRequest
impl Send for QualificationRequest
impl Sync for QualificationRequest
impl Unpin for QualificationRequest
impl UnwindSafe for QualificationRequest
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