pub struct RepostContent {
pub post_id: PostId,
}Expand description
Content for creating a repost.
Fields§
§post_id: PostIdID of the post to repost.
Trait Implementations§
Source§impl Clone for RepostContent
impl Clone for RepostContent
Source§fn clone(&self) -> RepostContent
fn clone(&self) -> RepostContent
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 RepostContent
impl Debug for RepostContent
Source§impl<'de> Deserialize<'de> for RepostContent
impl<'de> Deserialize<'de> for RepostContent
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
Auto Trait Implementations§
impl Freeze for RepostContent
impl RefUnwindSafe for RepostContent
impl Send for RepostContent
impl Sync for RepostContent
impl Unpin for RepostContent
impl UnsafeUnpin for RepostContent
impl UnwindSafe for RepostContent
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