[][src]Struct struckdown::processors::External

pub struct External {
    pub cmd: PathBuf,
    pub args: Vec<String>,
    pub env: BTreeMap<String, String>,
    pub cwd: Option<PathBuf>,
}

Passes a JSON serialized stream through an external program.

When applied this wraps the stream in a ExternalIter.

Fields

cmd: PathBuf

The executable to run.

args: Vec<String>

The arguments to pass to the external command.

env: BTreeMap<String, String>

Optional environment variables to pass.

cwd: Option<PathBuf>

An optional working directory.

Trait Implementations

impl Clone for External[src]

impl Debug for External[src]

impl<'de> Deserialize<'de> for External[src]

impl Processor for External[src]

impl Serialize for External[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,