pub struct GetCommentText200Response {
pub status: ApiStatus,
pub comment_text: String,
pub sanitized_comment_text: String,
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_text: String§sanitized_comment_text: String§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§
Trait Implementations§
Source§impl Clone for GetCommentText200Response
impl Clone for GetCommentText200Response
Source§fn clone(&self) -> GetCommentText200Response
fn clone(&self) -> GetCommentText200Response
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 GetCommentText200Response
impl Debug for GetCommentText200Response
Source§impl Default for GetCommentText200Response
impl Default for GetCommentText200Response
Source§fn default() -> GetCommentText200Response
fn default() -> GetCommentText200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCommentText200Response
impl<'de> Deserialize<'de> for GetCommentText200Response
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
impl StructuralPartialEq for GetCommentText200Response
Auto Trait Implementations§
impl Freeze for GetCommentText200Response
impl RefUnwindSafe for GetCommentText200Response
impl Send for GetCommentText200Response
impl Sync for GetCommentText200Response
impl Unpin for GetCommentText200Response
impl UnwindSafe for GetCommentText200Response
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