pub struct LogLinesQuery {
pub from: Option<u64>,
pub limit: Option<u32>,
pub follow: bool,
}Expand description
GET /v1/jobs/{id}/log/lines query parameters. The response is application/x-ndjson: one StyledLine per
line, in order.
Fields§
§from: Option<u64>Start at this line, 0-based.
limit: Option<u32>At most this many lines; default LINES_DEFAULT, at most LINES_MAX. Not read with follow.
follow: boolKeep the response open and send lines as they are stored, until the job finishes, as the plain log does.
Implementations§
Trait Implementations§
Source§impl Clone for LogLinesQuery
impl Clone for LogLinesQuery
Source§impl Debug for LogLinesQuery
impl Debug for LogLinesQuery
Source§impl Default for LogLinesQuery
impl Default for LogLinesQuery
Source§impl<'de> Deserialize<'de> for LogLinesQuery
impl<'de> Deserialize<'de> for LogLinesQuery
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 LogLinesQuery
Source§impl PartialEq for LogLinesQuery
impl PartialEq for LogLinesQuery
Source§impl Serialize for LogLinesQuery
impl Serialize for LogLinesQuery
impl StructuralPartialEq for LogLinesQuery
Auto Trait Implementations§
impl Forget for LogLinesQuery
impl Freeze for LogLinesQuery
impl Move for LogLinesQuery
impl RefUnwindSafe for LogLinesQuery
impl Send for LogLinesQuery
impl Sync for LogLinesQuery
impl Unpin for LogLinesQuery
impl UnsafeUnpin for LogLinesQuery
impl UnwindSafe for LogLinesQuery
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
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.