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§impl Debug for FlagCommentResponse
impl Debug for FlagCommentResponse
Source§impl Default for FlagCommentResponse
impl Default for FlagCommentResponse
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 Forget for FlagCommentResponse
impl Freeze for FlagCommentResponse
impl Move for FlagCommentResponse
impl RefUnwindSafe for FlagCommentResponse
impl Send for FlagCommentResponse
impl Sync for FlagCommentResponse
impl Unpin for FlagCommentResponse
impl UnsafeUnpin 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