pub enum Output {
Merge {
events: BTreeMap<String, Vec<OrderedValue>>,
unchecked_events: Vec<String>,
},
File {
text: Option<String>,
},
Keyed {
events: BTreeMap<String, Vec<OrderedValue>>,
data_file: Option<String>,
},
}Expand description
What a rendering yields, in the shape the target’s placement takes.
Variants§
Merge
Finished entries per native event, for a hook config file. An event with nothing left is absent.
Fields
§
events: BTreeMap<String, Vec<OrderedValue>>File
The text of the one file generated from the table; None when nothing is generated.
Keyed
Finished entries per native event for a keyed hook file, and the data file the
entries’ runner reads; None when nothing renders.
Trait Implementations§
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Forget for Output
impl Freeze for Outputwhere
*const LeafNode<String, Vec<OrderedValue>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Vec<OrderedValue>)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Output
impl RefUnwindSafe for Output
impl Send for Outputwhere
NodeRef<Owned, String, Vec<OrderedValue>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<OrderedValue>)>: Send,
RawVecInner: Send,
impl Sync for Outputwhere
NodeRef<Owned, String, Vec<OrderedValue>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<OrderedValue>)>: Sync,
RawVecInner: Sync,
impl Unpin for Output
impl UnsafeUnpin for Outputwhere
*const LeafNode<String, Vec<OrderedValue>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Vec<OrderedValue>)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Output
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