pub struct TextPage<M: DeserializeOwned> {
pub metadata: Option<M>,
pub content: String,
}
Fields§
§metadata: Option<M>
§content: String
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M> RefUnwindSafe for TextPage<M>where M: RefUnwindSafe,
impl<M> Send for TextPage<M>where M: Send,
impl<M> Sync for TextPage<M>where M: Sync,
impl<M> Unpin for TextPage<M>where M: Unpin,
impl<M> UnwindSafe for TextPage<M>where M: UnwindSafe,
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