pub struct SaveComment200Response {
pub status: ApiStatus,
pub comment: Box<FComment>,
pub user: Option<Box<UserSessionInfo>>,
pub module_data: Option<HashMap<String, Value>>,
pub reason: String,
pub code: String,
pub secondary_code: Option<String>,
pub banned_until: Option<i64>,
pub max_character_length: Option<i32>,
pub translated_error: Option<String>,
pub custom_config: Option<Box<CustomConfigParameters>>,
}Fields§
§status: ApiStatus§comment: Box<FComment>§user: Option<Box<UserSessionInfo>>§module_data: Option<HashMap<String, Value>>Construct a type with a set of properties K of type T
reason: String§code: String§secondary_code: Option<String>§banned_until: Option<i64>§max_character_length: Option<i32>§translated_error: Option<String>§custom_config: Option<Box<CustomConfigParameters>>Implementations§
Source§impl SaveComment200Response
impl SaveComment200Response
pub fn new( status: ApiStatus, comment: FComment, user: Option<UserSessionInfo>, reason: String, code: String, ) -> SaveComment200Response
Trait Implementations§
Source§impl Clone for SaveComment200Response
impl Clone for SaveComment200Response
Source§fn clone(&self) -> SaveComment200Response
fn clone(&self) -> SaveComment200Response
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 SaveComment200Response
impl Debug for SaveComment200Response
Source§impl Default for SaveComment200Response
impl Default for SaveComment200Response
Source§fn default() -> SaveComment200Response
fn default() -> SaveComment200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SaveComment200Response
impl<'de> Deserialize<'de> for SaveComment200Response
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 SaveComment200Response
impl PartialEq for SaveComment200Response
Source§impl Serialize for SaveComment200Response
impl Serialize for SaveComment200Response
impl StructuralPartialEq for SaveComment200Response
Auto Trait Implementations§
impl Freeze for SaveComment200Response
impl RefUnwindSafe for SaveComment200Response
impl Send for SaveComment200Response
impl Sync for SaveComment200Response
impl Unpin for SaveComment200Response
impl UnwindSafe for SaveComment200Response
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