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