pub struct RenderRequest {
pub template: RenderTemplate,
pub answers: Answers,
pub dry_run: bool,
pub assets: Vec<AssetPayload>,
}Expand description
What task render, project render and document render are asked.
Fields§
§template: RenderTemplateThe template to render.
answers: AnswersThe answers laid over the base: the stored ones when they are in step with the item’s provenance, none otherwise. An unset name drops its answer.
dry_run: boolRead and render everything, and write nothing.
assets: Vec<AssetPayload>Image assets to store with a task or a document, each replacing a stored one of the same name. The item keeps every stored asset its regenerated content still references, and drops every one it no longer does. A project holds no assets, and a render of one given any is refused before anything is read.
Trait Implementations§
Source§impl Clone for RenderRequest
impl Clone for RenderRequest
Source§impl Debug for RenderRequest
impl Debug for RenderRequest
Source§impl Default for RenderRequest
impl Default for RenderRequest
Source§impl PartialEq for RenderRequest
impl PartialEq for RenderRequest
impl StructuralPartialEq for RenderRequest
Auto Trait Implementations§
impl Freeze for RenderRequest
impl RefUnwindSafe for RenderRequest
impl Send for RenderRequest
impl Sync for RenderRequest
impl Unpin for RenderRequest
impl UnsafeUnpin for RenderRequest
impl UnwindSafe for RenderRequest
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