[][src]Struct emmett::inputs::Stdin

pub struct Stdin {
    pub add_field: Option<String>,
    pub codec: Option<String>,
    pub enable_metric: Option<bool>,
    pub id: Option<String>,
    pub tags: Option<Vec<String>>,
    pub type: Option<String>,
}

Read events from standard input. By default, each event is assumed to be one line. If you want to join lines, you’ll want to use the multiline codec.

Fields

add_field: Option<String>codec: Option<String>enable_metric: Option<bool>id: Option<String>tags: Option<Vec<String>>type: Option<String>

Methods

impl Stdin[src]

pub fn new() -> Self[src]

Trait Implementations

impl Default for Stdin[src]

impl Debug for Stdin[src]

Auto Trait Implementations

impl Send for Stdin

impl Unpin for Stdin

impl Sync for Stdin

impl UnwindSafe for Stdin

impl RefUnwindSafe for Stdin

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self