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