pub struct Output {
pub name: Option<String>,
pub format: String,
pub queries: Option<Vec<String>>,
pub when: Option<String>,
pub options: Map<String, Value>,
pub destinations: Vec<Destination>,
pub template: Option<Template>,
pub extension: Option<String>,
}Fields§
§name: Option<String>name:, so other outputs can refer to it; the default file name when set.
format: String§queries: Option<Vec<String>>queries:: which of the Binding’s queries this output formats; None: all of them.
when: Option<String>when:: a Jinja expression; the output is skipped when it’s false.
options: Map<String, Value>Format options: every key except the shared ones (OUTPUT_SHARED_KEYS).
destinations: Vec<Destination>Where the output is delivered, in order. Empty: it stays in target/.
template: Option<Template>§extension: Option<String>extension: replaces the format’s file extension in the default file name
(<report>.<extension>); Some("") means no extension. None: the format’s own.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
Blanket Implementations§
impl<T> Allocation for T
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