pub struct Converted {
pub content: String,
pub references: Vec<UrlReference>,
}Expand description
A converted document: the rendered content plus the references it cites.
content never carries the trailing References: block — assembling that
is crate::refs::fit_to_budget’s job, because whether a reference survives
depends on whether the (possibly truncated) body still cites it.
Fields§
§content: String§references: Vec<UrlReference>Auto Trait Implementations§
impl Freeze for Converted
impl RefUnwindSafe for Converted
impl Send for Converted
impl Sync for Converted
impl Unpin for Converted
impl UnsafeUnpin for Converted
impl UnwindSafe for Converted
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