#[non_exhaustive]pub struct HumanReviewStatus {
pub state: State,
pub state_message: String,
pub human_review_operation: String,
/* private fields */
}Expand description
The status of human review on a processed document.
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.state: StateThe state of human review on the processing request.
state_message: StringA message providing more details about the human review state.
human_review_operation: StringThe name of the operation triggered by the processed document. This field
is populated only when the
state is
HUMAN_REVIEW_IN_PROGRESS. It has the same response type and metadata as
the long-running operation returned by
ReviewDocument.
Implementations§
Source§impl HumanReviewStatus
impl HumanReviewStatus
pub fn new() -> Self
Sourcepub fn set_state_message<T: Into<String>>(self, v: T) -> Self
pub fn set_state_message<T: Into<String>>(self, v: T) -> Self
Sets the value of state_message.
Sourcepub fn set_human_review_operation<T: Into<String>>(self, v: T) -> Self
pub fn set_human_review_operation<T: Into<String>>(self, v: T) -> Self
Sets the value of human_review_operation.
Trait Implementations§
Source§impl Clone for HumanReviewStatus
impl Clone for HumanReviewStatus
Source§fn clone(&self) -> HumanReviewStatus
fn clone(&self) -> HumanReviewStatus
Returns a duplicate 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 HumanReviewStatus
impl Debug for HumanReviewStatus
Source§impl Default for HumanReviewStatus
impl Default for HumanReviewStatus
Source§fn default() -> HumanReviewStatus
fn default() -> HumanReviewStatus
Returns the “default value” for a type. Read more
Source§impl Message for HumanReviewStatus
impl Message for HumanReviewStatus
Source§impl PartialEq for HumanReviewStatus
impl PartialEq for HumanReviewStatus
impl StructuralPartialEq for HumanReviewStatus
Auto Trait Implementations§
impl Freeze for HumanReviewStatus
impl RefUnwindSafe for HumanReviewStatus
impl Send for HumanReviewStatus
impl Sync for HumanReviewStatus
impl Unpin for HumanReviewStatus
impl UnwindSafe for HumanReviewStatus
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