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§fn clone(&self) -> CreateFeedPostResponse
fn clone(&self) -> CreateFeedPostResponse
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 CreateFeedPostResponse
impl Debug for CreateFeedPostResponse
Source§impl Default for CreateFeedPostResponse
impl Default for CreateFeedPostResponse
Source§fn default() -> CreateFeedPostResponse
fn default() -> CreateFeedPostResponse
Returns the “default value” for a type. Read more
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 Freeze for CreateFeedPostResponse
impl RefUnwindSafe for CreateFeedPostResponse
impl Send for CreateFeedPostResponse
impl Sync for CreateFeedPostResponse
impl Unpin 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