Struct algorithmia::algo::AlgoMetadata
[−]
[src]
pub struct AlgoMetadata { pub duration: f32, pub stdout: Option<String>, pub alerts: Option<Vec<String>>, pub content_type: String, // some fields omitted }
Metadata returned from the API
Fields
duration: f32
Algorithm execution duration
stdout: Option<String>
Stdout from the algorithm (must enable stdout on request and be the algorithm author)
alerts: Option<Vec<String>>
API alerts (e.g. low balance warning)
content_type: String
Describes how the ouput's result
field should be parsed (text
, json
, or binary
)