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