pub struct GooglePrivacyDlpV2RedactImageResponse {
pub extracted_text: Option<String>,
pub inspect_result: Option<GooglePrivacyDlpV2InspectResult>,
pub redacted_image: Option<Vec<u8>>,
}
Expand description
Results of redacting an image.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- image redact projects (response)
- locations image redact projects (response)
Fields§
§extracted_text: Option<String>
If an image was being inspected and the InspectConfig’s include_quote was set to true, then this field will include all text, if any, that was found in the image.
inspect_result: Option<GooglePrivacyDlpV2InspectResult>
The findings. Populated when include_findings in the request is true.
redacted_image: Option<Vec<u8>>
The redacted image. The type will be the same as the original image.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2RedactImageResponse
impl Clone for GooglePrivacyDlpV2RedactImageResponse
source§fn clone(&self) -> GooglePrivacyDlpV2RedactImageResponse
fn clone(&self) -> GooglePrivacyDlpV2RedactImageResponse
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 Default for GooglePrivacyDlpV2RedactImageResponse
impl Default for GooglePrivacyDlpV2RedactImageResponse
source§fn default() -> GooglePrivacyDlpV2RedactImageResponse
fn default() -> GooglePrivacyDlpV2RedactImageResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2RedactImageResponse
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2RedactImageResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl ResponseResult for GooglePrivacyDlpV2RedactImageResponse
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2RedactImageResponse
impl Send for GooglePrivacyDlpV2RedactImageResponse
impl Sync for GooglePrivacyDlpV2RedactImageResponse
impl Unpin for GooglePrivacyDlpV2RedactImageResponse
impl UnwindSafe for GooglePrivacyDlpV2RedactImageResponse
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