pub struct FlagCommentResponse {
pub status_code: Option<i32>,
pub status: ApiStatus,
pub code: Option<String>,
pub reason: Option<String>,
pub was_unapproved: Option<bool>,
}Fields§
§status_code: Option<i32>§status: ApiStatus§code: Option<String>§reason: Option<String>§was_unapproved: Option<bool>Implementations§
Source§impl FlagCommentResponse
impl FlagCommentResponse
pub fn new(status: ApiStatus) -> FlagCommentResponse
Trait Implementations§
Source§impl Clone for FlagCommentResponse
impl Clone for FlagCommentResponse
Source§fn clone(&self) -> FlagCommentResponse
fn clone(&self) -> FlagCommentResponse
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 Debug for FlagCommentResponse
impl Debug for FlagCommentResponse
Source§impl Default for FlagCommentResponse
impl Default for FlagCommentResponse
Source§fn default() -> FlagCommentResponse
fn default() -> FlagCommentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlagCommentResponse
impl<'de> Deserialize<'de> for FlagCommentResponse
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 FlagCommentResponse
impl PartialEq for FlagCommentResponse
Source§impl Serialize for FlagCommentResponse
impl Serialize for FlagCommentResponse
impl StructuralPartialEq for FlagCommentResponse
Auto Trait Implementations§
impl Freeze for FlagCommentResponse
impl RefUnwindSafe for FlagCommentResponse
impl Send for FlagCommentResponse
impl Sync for FlagCommentResponse
impl Unpin for FlagCommentResponse
impl UnwindSafe for FlagCommentResponse
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