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