#[non_exhaustive]pub struct IndividualProcessStatus {
pub input_gcs_source: String,
pub status: Option<Status>,
pub output_gcs_destination: String,
pub human_review_status: Option<HumanReviewStatus>,
/* private fields */
}Expand description
The status of a each individual document in the batch process.
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.input_gcs_source: StringThe source of the document, same as the input_gcs_source field in the request when the batch process started.
status: Option<Status>The status processing the document.
output_gcs_destination: StringThe Cloud Storage output destination (in the request as DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if it was successful, otherwise empty.
human_review_status: Option<HumanReviewStatus>The status of human review on the processed document.
Implementations§
Source§impl IndividualProcessStatus
impl IndividualProcessStatus
pub fn new() -> Self
Sourcepub fn set_input_gcs_source<T: Into<String>>(self, v: T) -> Self
pub fn set_input_gcs_source<T: Into<String>>(self, v: T) -> Self
Sets the value of input_gcs_source.
Sourcepub fn set_status<T>(self, v: T) -> Self
pub fn set_status<T>(self, v: T) -> Self
Sets the value of status.
Sourcepub fn set_or_clear_status<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_status<T>(self, v: Option<T>) -> Self
Sets or clears the value of status.
Sourcepub fn set_output_gcs_destination<T: Into<String>>(self, v: T) -> Self
pub fn set_output_gcs_destination<T: Into<String>>(self, v: T) -> Self
Sets the value of output_gcs_destination.
Sourcepub fn set_human_review_status<T>(self, v: T) -> Selfwhere
T: Into<HumanReviewStatus>,
pub fn set_human_review_status<T>(self, v: T) -> Selfwhere
T: Into<HumanReviewStatus>,
Sets the value of human_review_status.
Sourcepub fn set_or_clear_human_review_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<HumanReviewStatus>,
pub fn set_or_clear_human_review_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<HumanReviewStatus>,
Sets or clears the value of human_review_status.
Trait Implementations§
Source§impl Clone for IndividualProcessStatus
impl Clone for IndividualProcessStatus
Source§fn clone(&self) -> IndividualProcessStatus
fn clone(&self) -> IndividualProcessStatus
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 IndividualProcessStatus
impl Debug for IndividualProcessStatus
Source§impl Default for IndividualProcessStatus
impl Default for IndividualProcessStatus
Source§fn default() -> IndividualProcessStatus
fn default() -> IndividualProcessStatus
Returns the “default value” for a type. Read more
Source§impl Message for IndividualProcessStatus
impl Message for IndividualProcessStatus
Source§impl PartialEq for IndividualProcessStatus
impl PartialEq for IndividualProcessStatus
impl StructuralPartialEq for IndividualProcessStatus
Auto Trait Implementations§
impl Freeze for IndividualProcessStatus
impl RefUnwindSafe for IndividualProcessStatus
impl Send for IndividualProcessStatus
impl Sync for IndividualProcessStatus
impl Unpin for IndividualProcessStatus
impl UnwindSafe for IndividualProcessStatus
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