pub struct LogSearchQuery {
pub q: String,
pub from: Option<u64>,
pub limit: Option<u32>,
pub context: Option<u32>,
pub follow: bool,
}Expand description
GET /v1/jobs/{id}/log/search query parameters.
Fields§
§q: StringWhat to find in each line’s message: literal text, 1 to 200 bytes; ASCII letters match in either case. The
message is the line as styled, without its timestamp, ##[…] command or escapes: label it as such.
from: Option<u64>Scan from this line: the next of the previous page.
limit: Option<u32>At most this many matches; default 50, at most 200.
context: Option<u32>Lines to show before and after each match; default 0, at most 5.
follow: boolRefused: a search does not follow a log yet.
Trait Implementations§
Source§impl Clone for LogSearchQuery
impl Clone for LogSearchQuery
Source§impl Debug for LogSearchQuery
impl Debug for LogSearchQuery
Source§impl Default for LogSearchQuery
impl Default for LogSearchQuery
Source§impl<'de> Deserialize<'de> for LogSearchQuery
impl<'de> Deserialize<'de> for LogSearchQuery
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 LogSearchQuery
Source§impl PartialEq for LogSearchQuery
impl PartialEq for LogSearchQuery
Source§impl Serialize for LogSearchQuery
impl Serialize for LogSearchQuery
impl StructuralPartialEq for LogSearchQuery
Auto Trait Implementations§
impl Forget for LogSearchQuery
impl Freeze for LogSearchQuery
impl Move for LogSearchQuery
impl RefUnwindSafe for LogSearchQuery
impl Send for LogSearchQuery
impl Sync for LogSearchQuery
impl Unpin for LogSearchQuery
impl UnsafeUnpin for LogSearchQuery
impl UnwindSafe for LogSearchQuery
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.