#[non_exhaustive]pub struct ResponseModerationReport {
pub input: ResponseModerationOutcome,
pub output: ResponseModerationOutcome,
pub rest: Rest,
}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: ResponseModerationOutcome§output: ResponseModerationOutcome§rest: RestImplementations§
Source§impl ResponseModerationReport
impl ResponseModerationReport
Sourcepub fn builder(
input: ResponseModerationOutcome,
output: ResponseModerationOutcome,
) -> ResponseModerationReportBuilder
pub fn builder( input: ResponseModerationOutcome, output: ResponseModerationOutcome, ) -> ResponseModerationReportBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ResponseModerationReport
impl Clone for ResponseModerationReport
Source§impl Debug for ResponseModerationReport
impl Debug for ResponseModerationReport
Source§impl DeclaredFields for ResponseModerationReport
impl DeclaredFields for ResponseModerationReport
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ResponseModerationReport
impl<'de> Deserialize<'de> for ResponseModerationReport
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 Eq for ResponseModerationReport
Source§impl PartialEq for ResponseModerationReport
impl PartialEq for ResponseModerationReport
Source§impl Serialize for ResponseModerationReport
impl Serialize for ResponseModerationReport
impl StructuralPartialEq for ResponseModerationReport
Auto Trait Implementations§
impl Freeze for ResponseModerationReport
impl RefUnwindSafe for ResponseModerationReport
impl Send for ResponseModerationReport
impl Sync for ResponseModerationReport
impl Unpin for ResponseModerationReport
impl UnsafeUnpin for ResponseModerationReport
impl UnwindSafe for ResponseModerationReport
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