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§fn clone(&self) -> ModerationApiCommentResponse
fn clone(&self) -> ModerationApiCommentResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModerationApiCommentResponse
impl Debug for ModerationApiCommentResponse
Source§impl Default for ModerationApiCommentResponse
impl Default for ModerationApiCommentResponse
Source§fn default() -> ModerationApiCommentResponse
fn default() -> ModerationApiCommentResponse
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for ModerationApiCommentResponse
impl PartialEq for ModerationApiCommentResponse
Source§fn eq(&self, other: &ModerationApiCommentResponse) -> bool
fn eq(&self, other: &ModerationApiCommentResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModerationApiCommentResponse
Auto Trait Implementations§
impl Freeze for ModerationApiCommentResponse
impl RefUnwindSafe for ModerationApiCommentResponse
impl Send for ModerationApiCommentResponse
impl Sync for ModerationApiCommentResponse
impl Unpin for ModerationApiCommentResponse
impl UnsafeUnpin for ModerationApiCommentResponse
impl UnwindSafe for ModerationApiCommentResponse
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