#[non_exhaustive]pub struct LogSplit {
pub uid: String,
pub index: i32,
pub total_splits: i32,
/* private fields */
}Expand description
Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries.
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.uid: StringA globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.
index: i32The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, …, n-1 for a sequence of n log entries.
total_splits: i32The total number of log entries that the original LogEntry was split into.
Implementations§
Trait Implementations§
impl StructuralPartialEq for LogSplit
Auto Trait Implementations§
impl Freeze for LogSplit
impl RefUnwindSafe for LogSplit
impl Send for LogSplit
impl Sync for LogSplit
impl Unpin for LogSplit
impl UnwindSafe for LogSplit
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