pub struct ModerationApiCommentResponse {
pub comment: Box<ModerationApiComment>,
pub status: ApiStatus,
}Fields§
§comment: Box<ModerationApiComment>§status: ApiStatusImplementations§
Source§impl ModerationApiCommentResponse
impl ModerationApiCommentResponse
pub fn new( comment: ModerationApiComment, status: ApiStatus, ) -> ModerationApiCommentResponse
Trait Implementations§
Source§impl Clone for ModerationApiCommentResponse
impl Clone for ModerationApiCommentResponse
Source§impl Debug for ModerationApiCommentResponse
impl Debug for ModerationApiCommentResponse
Source§impl<'de> Deserialize<'de> for ModerationApiCommentResponse
impl<'de> Deserialize<'de> for ModerationApiCommentResponse
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 StructuralPartialEq for ModerationApiCommentResponse
Auto Trait Implementations§
impl Forget for ModerationApiCommentResponse
impl Freeze for ModerationApiCommentResponse
impl Move for ModerationApiCommentResponse
impl RefUnwindSafe for ModerationApiCommentResponse
impl Send for ModerationApiCommentResponsewhere
BoxRaw<ModerationApiComment>: Send,
impl Sync for ModerationApiCommentResponsewhere
BoxRaw<ModerationApiComment>: Sync,
impl Unpin for ModerationApiCommentResponse
impl UnsafeUnpin for ModerationApiCommentResponsewhere
*const ModerationApiComment is !null: UnsafeUnpin,
PhantomData<ModerationApiComment>: UnsafeUnpin,
impl UnwindSafe for ModerationApiCommentResponsewhere
BoxRaw<ModerationApiComment>: UnwindSafe,
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