pub struct SocialPost {
pub username: String,
pub content: String,
pub reply: bool,
pub repost: bool,
}Fields§
§username: String§content: String§reply: bool§repost: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for SocialPost
impl RefUnwindSafe for SocialPost
impl Send for SocialPost
impl Sync for SocialPost
impl Unpin for SocialPost
impl UnwindSafe for SocialPost
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