#[non_exhaustive]pub struct TailLogEntriesResponse {
pub entries: Vec<LogEntry>,
pub suppression_info: Vec<SuppressionInfo>,
/* private fields */
}Expand description
Result returned from TailLogEntries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<LogEntry>A list of log entries. Each response in the stream will order entries with
increasing values of LogEntry.timestamp. Ordering is not guaranteed
between separate responses.
suppression_info: Vec<SuppressionInfo>If entries that otherwise would have been included in the session were not sent back to the client, counts of relevant entries omitted from the session with the reason that they were not included. There will be at most one of each reason per response. The counts represent the number of suppressed entries since the last streamed response.
Implementations§
Source§impl TailLogEntriesResponse
impl TailLogEntriesResponse
pub fn new() -> Self
Sourcepub fn set_entries<T, V>(self, v: T) -> Self
pub fn set_entries<T, V>(self, v: T) -> Self
Sets the value of entries.
Sourcepub fn set_suppression_info<T, V>(self, v: T) -> Self
pub fn set_suppression_info<T, V>(self, v: T) -> Self
Sets the value of suppression_info.
Trait Implementations§
Source§impl Clone for TailLogEntriesResponse
impl Clone for TailLogEntriesResponse
Source§fn clone(&self) -> TailLogEntriesResponse
fn clone(&self) -> TailLogEntriesResponse
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 TailLogEntriesResponse
impl Debug for TailLogEntriesResponse
Source§impl Default for TailLogEntriesResponse
impl Default for TailLogEntriesResponse
Source§fn default() -> TailLogEntriesResponse
fn default() -> TailLogEntriesResponse
Returns the “default value” for a type. Read more
Source§impl Message for TailLogEntriesResponse
impl Message for TailLogEntriesResponse
Source§impl PartialEq for TailLogEntriesResponse
impl PartialEq for TailLogEntriesResponse
impl StructuralPartialEq for TailLogEntriesResponse
Auto Trait Implementations§
impl Freeze for TailLogEntriesResponse
impl RefUnwindSafe for TailLogEntriesResponse
impl Send for TailLogEntriesResponse
impl Sync for TailLogEntriesResponse
impl Unpin for TailLogEntriesResponse
impl UnwindSafe for TailLogEntriesResponse
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