Struct ya_client_model::activity::runtime_event::RuntimeEvent[][src]

pub struct RuntimeEvent {
    pub batch_id: String,
    pub index: usize,
    pub timestamp: NaiveDateTime,
    pub kind: RuntimeEventKind,
}

Fields

batch_id: Stringindex: usizetimestamp: NaiveDateTimekind: RuntimeEventKind

Implementations

impl RuntimeEvent[src]

pub fn new(batch_id: String, index: usize, kind: RuntimeEventKind) -> Self[src]

pub fn started(batch_id: String, idx: usize, command: ExeScriptCommand) -> Self[src]

pub fn finished(
    batch_id: String,
    idx: usize,
    return_code: i32,
    message: Option<String>
) -> Self
[src]

pub fn stdout(batch_id: String, idx: usize, out: CommandOutput) -> Self[src]

pub fn stderr(batch_id: String, idx: usize, out: CommandOutput) -> Self[src]

Trait Implementations

impl Clone for RuntimeEvent[src]

impl Debug for RuntimeEvent[src]

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

impl PartialEq<RuntimeEvent> for RuntimeEvent[src]

impl Serialize for RuntimeEvent[src]

impl StructuralPartialEq for RuntimeEvent[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.