pub struct Document<T: Serialize> {
pub meta: Metadata,
pub content: T,
pub code_outputs: HashMap<u64, CodeOutput>,
}
Fields§
§meta: Metadata
§content: T
§code_outputs: HashMap<u64, CodeOutput>
Implementations§
Trait Implementations§
impl<T: Serialize> StructuralPartialEq for Document<T>
Auto Trait Implementations§
impl<T> Freeze for Document<T>where
T: Freeze,
impl<T> RefUnwindSafe for Document<T>where
T: RefUnwindSafe,
impl<T> Send for Document<T>where
T: Send,
impl<T> Sync for Document<T>where
T: Sync,
impl<T> Unpin for Document<T>where
T: Unpin,
impl<T> UnwindSafe for Document<T>where
T: 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