#[non_exhaustive]pub struct RejectAssignmentInput {
pub assignment_id: Option<String>,
pub requester_feedback: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.assignment_id: Option<String>The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
requester_feedback: Option<String>A message for the Worker, which the Worker can see in the Status section of the web site.
Implementations§
source§impl RejectAssignmentInput
impl RejectAssignmentInput
sourcepub fn assignment_id(&self) -> Option<&str>
pub fn assignment_id(&self) -> Option<&str>
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
sourcepub fn requester_feedback(&self) -> Option<&str>
pub fn requester_feedback(&self) -> Option<&str>
A message for the Worker, which the Worker can see in the Status section of the web site.
source§impl RejectAssignmentInput
impl RejectAssignmentInput
sourcepub fn builder() -> RejectAssignmentInputBuilder
pub fn builder() -> RejectAssignmentInputBuilder
Creates a new builder-style object to manufacture RejectAssignmentInput.
Trait Implementations§
source§impl Clone for RejectAssignmentInput
impl Clone for RejectAssignmentInput
source§fn clone(&self) -> RejectAssignmentInput
fn clone(&self) -> RejectAssignmentInput
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 Debug for RejectAssignmentInput
impl Debug for RejectAssignmentInput
source§impl PartialEq for RejectAssignmentInput
impl PartialEq for RejectAssignmentInput
source§fn eq(&self, other: &RejectAssignmentInput) -> bool
fn eq(&self, other: &RejectAssignmentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RejectAssignmentInput
Auto Trait Implementations§
impl RefUnwindSafe for RejectAssignmentInput
impl Send for RejectAssignmentInput
impl Sync for RejectAssignmentInput
impl Unpin for RejectAssignmentInput
impl UnwindSafe for RejectAssignmentInput
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