#[non_exhaustive]pub struct ReviewDocumentResponse {
pub gcs_destination: String,
pub state: State,
pub rejection_reason: String,
/* private fields */
}Expand description
Response message for the ReviewDocument method.
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.gcs_destination: StringThe Cloud Storage uri for the human reviewed document if the review is succeeded.
state: StateThe state of the review operation.
rejection_reason: StringThe reason why the review is rejected by reviewer.
Implementations§
Source§impl ReviewDocumentResponse
impl ReviewDocumentResponse
pub fn new() -> Self
Sourcepub fn set_gcs_destination<T: Into<String>>(self, v: T) -> Self
pub fn set_gcs_destination<T: Into<String>>(self, v: T) -> Self
Sets the value of gcs_destination.
Sourcepub fn set_rejection_reason<T: Into<String>>(self, v: T) -> Self
pub fn set_rejection_reason<T: Into<String>>(self, v: T) -> Self
Sets the value of rejection_reason.
Trait Implementations§
Source§impl Clone for ReviewDocumentResponse
impl Clone for ReviewDocumentResponse
Source§fn clone(&self) -> ReviewDocumentResponse
fn clone(&self) -> ReviewDocumentResponse
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 ReviewDocumentResponse
impl Debug for ReviewDocumentResponse
Source§impl Default for ReviewDocumentResponse
impl Default for ReviewDocumentResponse
Source§fn default() -> ReviewDocumentResponse
fn default() -> ReviewDocumentResponse
Returns the “default value” for a type. Read more
Source§impl Message for ReviewDocumentResponse
impl Message for ReviewDocumentResponse
Source§impl PartialEq for ReviewDocumentResponse
impl PartialEq for ReviewDocumentResponse
impl StructuralPartialEq for ReviewDocumentResponse
Auto Trait Implementations§
impl Freeze for ReviewDocumentResponse
impl RefUnwindSafe for ReviewDocumentResponse
impl Send for ReviewDocumentResponse
impl Sync for ReviewDocumentResponse
impl Unpin for ReviewDocumentResponse
impl UnwindSafe for ReviewDocumentResponse
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