pub struct NewsArticle {
pub headline: String,
pub location: String,
pub author: String,
pub content: String,
}
Fields§
§headline: String
§location: String
§content: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewsArticle
impl RefUnwindSafe for NewsArticle
impl Send for NewsArticle
impl Sync for NewsArticle
impl Unpin for NewsArticle
impl UnwindSafe for NewsArticle
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