pub struct PublicApiDeleteCommentResponse {
pub comment: Option<Box<DeletedCommentResultComment>>,
pub hard_removed: bool,
pub status: ApiStatus,
}Fields§
§comment: Option<Box<DeletedCommentResultComment>>§hard_removed: bool§status: ApiStatusImplementations§
Source§impl PublicApiDeleteCommentResponse
impl PublicApiDeleteCommentResponse
pub fn new( hard_removed: bool, status: ApiStatus, ) -> PublicApiDeleteCommentResponse
Trait Implementations§
Source§impl Clone for PublicApiDeleteCommentResponse
impl Clone for PublicApiDeleteCommentResponse
Source§fn clone(&self) -> PublicApiDeleteCommentResponse
fn clone(&self) -> PublicApiDeleteCommentResponse
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 PublicApiDeleteCommentResponse
impl Default for PublicApiDeleteCommentResponse
Source§fn default() -> PublicApiDeleteCommentResponse
fn default() -> PublicApiDeleteCommentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicApiDeleteCommentResponse
impl<'de> Deserialize<'de> for PublicApiDeleteCommentResponse
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 PublicApiDeleteCommentResponse
impl PartialEq for PublicApiDeleteCommentResponse
Source§fn eq(&self, other: &PublicApiDeleteCommentResponse) -> bool
fn eq(&self, other: &PublicApiDeleteCommentResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PublicApiDeleteCommentResponse
Auto Trait Implementations§
impl Freeze for PublicApiDeleteCommentResponse
impl RefUnwindSafe for PublicApiDeleteCommentResponse
impl Send for PublicApiDeleteCommentResponse
impl Sync for PublicApiDeleteCommentResponse
impl Unpin for PublicApiDeleteCommentResponse
impl UnwindSafe for PublicApiDeleteCommentResponse
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