pub struct LogSearch {
pub matches: Vec<u64>,
pub lines: Vec<StyledLine>,
pub next: Option<u64>,
}Expand description
GET /v1/jobs/{id}/log/search: one page of the lines whose message holds a query.
Fields§
§matches: Vec<u64>The lines that hold the query, in order.
lines: Vec<StyledLine>The matching lines, their runs split so the query’s text is marked, and the context around them, in order, each once.
next: Option<u64>Where the next page continues, while stored lines remain unscanned; absent once every line stored when it was read was.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogSearch
impl<'de> Deserialize<'de> for LogSearch
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 LogSearch
impl StructuralPartialEq for LogSearch
Auto Trait Implementations§
impl Forget for LogSearch
impl Freeze for LogSearch
impl Move for LogSearch
impl RefUnwindSafe for LogSearch
impl Send for LogSearch
impl Sync for LogSearch
impl Unpin for LogSearch
impl UnsafeUnpin for LogSearch
impl UnwindSafe for LogSearch
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.