pub struct LogSearchResult {
pub data: Vec<LogEvent>,
pub meta: Option<LogSearchMeta>,
}Expand description
Response from POST /api/v2/logs/events/search.
Phase 1 ships single-page only; the cursor token is preserved on
meta.page.after so a future Phase 2 follow-up can iterate without
changing the wire types.
Fields§
§data: Vec<LogEvent>Events returned by the API.
meta: Option<LogSearchMeta>Pagination + status metadata.
Trait Implementations§
Source§impl Clone for LogSearchResult
impl Clone for LogSearchResult
Source§fn clone(&self) -> LogSearchResult
fn clone(&self) -> LogSearchResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogSearchResult
impl Debug for LogSearchResult
Source§impl Default for LogSearchResult
impl Default for LogSearchResult
Source§fn default() -> LogSearchResult
fn default() -> LogSearchResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogSearchResult
impl<'de> Deserialize<'de> for LogSearchResult
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
Source§impl PartialEq for LogSearchResult
impl PartialEq for LogSearchResult
Source§impl Serialize for LogSearchResult
impl Serialize for LogSearchResult
impl Eq for LogSearchResult
impl StructuralPartialEq for LogSearchResult
Auto Trait Implementations§
impl Freeze for LogSearchResult
impl RefUnwindSafe for LogSearchResult
impl Send for LogSearchResult
impl Sync for LogSearchResult
impl Unpin for LogSearchResult
impl UnsafeUnpin for LogSearchResult
impl UnwindSafe for LogSearchResult
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,
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.