pub struct CreateFeedPostsResponse {
pub status: ApiStatus,
pub feed_post: Box<FeedPost>,
}Fields§
§status: ApiStatus§feed_post: Box<FeedPost>Implementations§
Source§impl CreateFeedPostsResponse
impl CreateFeedPostsResponse
pub fn new(status: ApiStatus, feed_post: FeedPost) -> CreateFeedPostsResponse
Trait Implementations§
Source§impl Clone for CreateFeedPostsResponse
impl Clone for CreateFeedPostsResponse
Source§fn clone(&self) -> CreateFeedPostsResponse
fn clone(&self) -> CreateFeedPostsResponse
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 CreateFeedPostsResponse
impl Debug for CreateFeedPostsResponse
Source§impl Default for CreateFeedPostsResponse
impl Default for CreateFeedPostsResponse
Source§fn default() -> CreateFeedPostsResponse
fn default() -> CreateFeedPostsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateFeedPostsResponse
impl<'de> Deserialize<'de> for CreateFeedPostsResponse
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 CreateFeedPostsResponse
impl PartialEq for CreateFeedPostsResponse
Source§impl Serialize for CreateFeedPostsResponse
impl Serialize for CreateFeedPostsResponse
impl StructuralPartialEq for CreateFeedPostsResponse
Auto Trait Implementations§
impl Freeze for CreateFeedPostsResponse
impl RefUnwindSafe for CreateFeedPostsResponse
impl Send for CreateFeedPostsResponse
impl Sync for CreateFeedPostsResponse
impl Unpin for CreateFeedPostsResponse
impl UnwindSafe for CreateFeedPostsResponse
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