Struct gapi_grpc::google::privacy::dlp::v2::RedactImageResponse[][src]

pub struct RedactImageResponse {
    pub redacted_image: Vec<u8>,
    pub extracted_text: String,
    pub inspect_result: Option<InspectResult>,
}

Results of redacting an image.

Fields

redacted_image: Vec<u8>

The redacted image. The type will be the same as the original image.

extracted_text: 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<InspectResult>

The findings. Populated when include_findings in the request is true.

Trait Implementations

impl Clone for RedactImageResponse[src]

impl Debug for RedactImageResponse[src]

impl Default for RedactImageResponse[src]

impl Message for RedactImageResponse[src]

impl PartialEq<RedactImageResponse> for RedactImageResponse[src]

impl StructuralPartialEq for RedactImageResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for RedactImageResponse

impl Send for RedactImageResponse

impl Sync for RedactImageResponse

impl Unpin for RedactImageResponse

impl UnwindSafe for RedactImageResponse

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]