pub struct CreateFeedPostResponse {
pub status: ApiStatus,
pub feed_post: Box<FeedPost>,
}Fields§
§status: ApiStatus§feed_post: Box<FeedPost>Implementations§
Source§impl CreateFeedPostResponse
impl CreateFeedPostResponse
pub fn new(status: ApiStatus, feed_post: FeedPost) -> CreateFeedPostResponse
Trait Implementations§
Source§impl Clone for CreateFeedPostResponse
impl Clone for CreateFeedPostResponse
Source§impl Debug for CreateFeedPostResponse
impl Debug for CreateFeedPostResponse
Source§impl Default for CreateFeedPostResponse
impl Default for CreateFeedPostResponse
Source§impl<'de> Deserialize<'de> for CreateFeedPostResponse
impl<'de> Deserialize<'de> for CreateFeedPostResponse
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 CreateFeedPostResponse
impl PartialEq for CreateFeedPostResponse
Source§impl Serialize for CreateFeedPostResponse
impl Serialize for CreateFeedPostResponse
impl StructuralPartialEq for CreateFeedPostResponse
Auto Trait Implementations§
impl Forget for CreateFeedPostResponse
impl Freeze for CreateFeedPostResponse
impl Move for CreateFeedPostResponse
impl RefUnwindSafe for CreateFeedPostResponse
impl Send for CreateFeedPostResponse
impl Sync for CreateFeedPostResponse
impl Unpin for CreateFeedPostResponse
impl UnsafeUnpin for CreateFeedPostResponse
impl UnwindSafe for CreateFeedPostResponse
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