pub struct PostResponse {
pub id: u64,
pub result: usize,
}Fields§
§id: u64§result: usizeTrait Implementations§
Source§impl Clone for PostResponse
impl Clone for PostResponse
Source§fn clone(&self) -> PostResponse
fn clone(&self) -> PostResponse
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 PostResponse
impl Debug for PostResponse
Source§impl From<PostResponse> for ThreadRequestResponse<ChatRoom>
impl From<PostResponse> for ThreadRequestResponse<ChatRoom>
Source§fn from(response: PostResponse) -> Self
fn from(response: PostResponse) -> Self
Converts to this type from the input type.
Source§impl From<ThreadRequestResponse<ChatRoom>> for PostResponse
impl From<ThreadRequestResponse<ChatRoom>> for PostResponse
Source§fn from(response: ThreadRequestResponse<ChatRoom>) -> Self
fn from(response: ThreadRequestResponse<ChatRoom>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PostResponse
impl PartialEq for PostResponse
impl Eq for PostResponse
impl StructuralPartialEq for PostResponse
Auto Trait Implementations§
impl Freeze for PostResponse
impl RefUnwindSafe for PostResponse
impl Send for PostResponse
impl Sync for PostResponse
impl Unpin for PostResponse
impl UnwindSafe for PostResponse
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