pub struct LogSnapshot {
pub events: Vec<LogEvent>,
pub truncated: bool,
}Expand description
Stable synchronous result contract returned by query/follow polling surfaces.
Fields§
§events: Vec<LogEvent>Matching events returned by the query or poll.
truncated: boolWhether the result set was truncated by the configured limit.
Trait Implementations§
Source§impl Clone for LogSnapshot
impl Clone for LogSnapshot
Source§fn clone(&self) -> LogSnapshot
fn clone(&self) -> LogSnapshot
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 LogSnapshot
impl Debug for LogSnapshot
Source§impl Default for LogSnapshot
impl Default for LogSnapshot
Source§fn default() -> LogSnapshot
fn default() -> LogSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogSnapshot
impl<'de> Deserialize<'de> for LogSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LogSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LogSnapshot
impl PartialEq for LogSnapshot
Source§impl Serialize for LogSnapshot
impl Serialize for LogSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LogSnapshot
Auto Trait Implementations§
impl Freeze for LogSnapshot
impl RefUnwindSafe for LogSnapshot
impl Send for LogSnapshot
impl Sync for LogSnapshot
impl Unpin for LogSnapshot
impl UnsafeUnpin for LogSnapshot
impl UnwindSafe for LogSnapshot
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