pub enum Destination {
SessionDir,
Stdout,
Stderr,
None,
}Expand description
SRD-46 output destination for a rendered report item.
The set is declared with to <dest>[, <dest>…] and rides the
style cascade (report defaults → group defaults → item), so a
whole report can be routed in one line. An inner declaration
REPLACES an outer one rather than unioning with it — routing
you can’t take back would make the outer default a trap.
Variants§
SessionDir
The session directory: standalone artifact + markdown upsert. The default when nothing is declared.
Stdout
The console form on stdout. Never implied — see
vocab::DESTINATION_NAMES.
Stderr
The console form on stderr.
None
Render nothing.
Implementations§
Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
impl Copy for Destination
Source§impl Debug for Destination
impl Debug for Destination
Source§impl<'de> Deserialize<'de> for Destination
impl<'de> Deserialize<'de> for Destination
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Destination
Source§impl PartialEq for Destination
impl PartialEq for Destination
Source§impl Serialize for Destination
impl Serialize for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnsafeUnpin for Destination
impl UnwindSafe for Destination
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.