#[non_exhaustive]pub struct SanitizeModelResponseResponse {
pub sanitization_result: Option<SanitizationResult>,
/* private fields */
}Expand description
Sanitized Model Response Response.
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.sanitization_result: Option<SanitizationResult>Output only. Sanitization Result.
Implementations§
Source§impl SanitizeModelResponseResponse
impl SanitizeModelResponseResponse
pub fn new() -> Self
Sourcepub fn set_sanitization_result<T>(self, v: T) -> Selfwhere
T: Into<SanitizationResult>,
pub fn set_sanitization_result<T>(self, v: T) -> Selfwhere
T: Into<SanitizationResult>,
Sets the value of sanitization_result.
Sourcepub fn set_or_clear_sanitization_result<T>(self, v: Option<T>) -> Selfwhere
T: Into<SanitizationResult>,
pub fn set_or_clear_sanitization_result<T>(self, v: Option<T>) -> Selfwhere
T: Into<SanitizationResult>,
Sets or clears the value of sanitization_result.
Trait Implementations§
Source§impl Clone for SanitizeModelResponseResponse
impl Clone for SanitizeModelResponseResponse
Source§fn clone(&self) -> SanitizeModelResponseResponse
fn clone(&self) -> SanitizeModelResponseResponse
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 Default for SanitizeModelResponseResponse
impl Default for SanitizeModelResponseResponse
Source§fn default() -> SanitizeModelResponseResponse
fn default() -> SanitizeModelResponseResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for SanitizeModelResponseResponse
impl PartialEq for SanitizeModelResponseResponse
Source§fn eq(&self, other: &SanitizeModelResponseResponse) -> bool
fn eq(&self, other: &SanitizeModelResponseResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SanitizeModelResponseResponse
Auto Trait Implementations§
impl Freeze for SanitizeModelResponseResponse
impl RefUnwindSafe for SanitizeModelResponseResponse
impl Send for SanitizeModelResponseResponse
impl Sync for SanitizeModelResponseResponse
impl Unpin for SanitizeModelResponseResponse
impl UnwindSafe for SanitizeModelResponseResponse
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