pub struct GetCommentTextResponse {
pub comment: Option<Option<String>>,
pub status: ApiStatus,
}Fields§
§comment: Option<Option<String>>§status: ApiStatusImplementations§
Source§impl GetCommentTextResponse
impl GetCommentTextResponse
pub fn new(status: ApiStatus) -> GetCommentTextResponse
Trait Implementations§
Source§impl Clone for GetCommentTextResponse
impl Clone for GetCommentTextResponse
Source§fn clone(&self) -> GetCommentTextResponse
fn clone(&self) -> GetCommentTextResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetCommentTextResponse
impl Debug for GetCommentTextResponse
Source§impl Default for GetCommentTextResponse
impl Default for GetCommentTextResponse
Source§fn default() -> GetCommentTextResponse
fn default() -> GetCommentTextResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCommentTextResponse
impl<'de> Deserialize<'de> for GetCommentTextResponse
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 GetCommentTextResponse
impl PartialEq for GetCommentTextResponse
Source§fn eq(&self, other: &GetCommentTextResponse) -> bool
fn eq(&self, other: &GetCommentTextResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetCommentTextResponse
impl Serialize for GetCommentTextResponse
impl StructuralPartialEq for GetCommentTextResponse
Auto Trait Implementations§
impl Freeze for GetCommentTextResponse
impl RefUnwindSafe for GetCommentTextResponse
impl Send for GetCommentTextResponse
impl Sync for GetCommentTextResponse
impl Unpin for GetCommentTextResponse
impl UnsafeUnpin for GetCommentTextResponse
impl UnwindSafe for GetCommentTextResponse
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