pub struct CrashQuery {
pub app_class: String,
pub app_name: String,
pub signature: String,
pub since_unix_ms: u64,
pub until_unix_ms: u64,
pub limit: u32,
pub app_class_like: String,
pub instance_name: String,
}Fields§
§app_class: String§app_name: String§signature: StringGrouping key across instances — enables “all crashes of this shape”.
since_unix_ms: u64Half-open window [since, until). Zero means unbounded on that side.
until_unix_ms: u64§limit: u32Mandatory for record queries, and capped. Crash history grows without bound between GC runs, so an absent limit is refused rather than defaulted — the same rule the live query surface uses, for the same reason. Ignored by CrashStatsQuery, whose result is bounded by the number of distinct signatures rather than by the number of rows.
app_class_like: StringSQL LIKE pattern on app_class, e.g. “clud%” to sweep clud and
clud-worker together. Escaped with backslash, so a literal ‘%’ or ‘_’ in
a class name cannot silently widen the match. Applied in addition to
app_class when both are set.
instance_name: StringTrait Implementations§
Source§impl Clone for CrashQuery
impl Clone for CrashQuery
Source§fn clone(&self) -> CrashQuery
fn clone(&self) -> CrashQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CrashQuery
impl Debug for CrashQuery
Source§impl Default for CrashQuery
impl Default for CrashQuery
impl Eq for CrashQuery
Source§impl Hash for CrashQuery
impl Hash for CrashQuery
Source§impl Message for CrashQuery
impl Message for CrashQuery
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CrashQuery
impl PartialEq for CrashQuery
impl StructuralPartialEq for CrashQuery
Auto Trait Implementations§
impl Freeze for CrashQuery
impl RefUnwindSafe for CrashQuery
impl Send for CrashQuery
impl Sync for CrashQuery
impl Unpin for CrashQuery
impl UnsafeUnpin for CrashQuery
impl UnwindSafe for CrashQuery
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