pub struct StoredDocMeta {Show 19 fields
pub format: u32,
pub key: DocKey,
pub revision: i64,
pub complete: bool,
pub truncated: bool,
pub line_count: u32,
pub text_bytes: u64,
pub disk_bytes: u64,
pub first_timestamp_ms: Option<i64>,
pub styles: Vec<LogStyle>,
pub sections: Vec<LogSection>,
pub error_lines: Vec<u32>,
pub warning_lines: Vec<u32>,
pub error_total: u32,
pub warning_total: u32,
pub focus_line: Option<u32>,
pub updated_at_ms: i64,
pub stable_lines: u32,
pub previous_revision: Option<i64>,
}Fields§
§format: u32§key: DocKey§revision: i64§complete: bool§truncated: bool§line_count: u32§text_bytes: u64§disk_bytes: u64§first_timestamp_ms: Option<i64>§styles: Vec<LogStyle>§sections: Vec<LogSection>§error_lines: Vec<u32>§warning_lines: Vec<u32>§error_total: u32§warning_total: u32§focus_line: Option<u32>§updated_at_ms: i64§stable_lines: u32§previous_revision: Option<i64>Implementations§
Source§impl StoredDocMeta
impl StoredDocMeta
pub fn to_meta(&self) -> LogDocumentMeta
Trait Implementations§
Source§impl Clone for StoredDocMeta
impl Clone for StoredDocMeta
Source§impl Debug for StoredDocMeta
impl Debug for StoredDocMeta
Source§impl<'de> Deserialize<'de> for StoredDocMeta
impl<'de> Deserialize<'de> for StoredDocMeta
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
Auto Trait Implementations§
impl Freeze for StoredDocMeta
impl RefUnwindSafe for StoredDocMeta
impl Send for StoredDocMeta
impl Sync for StoredDocMeta
impl Unpin for StoredDocMeta
impl UnsafeUnpin for StoredDocMeta
impl UnwindSafe for StoredDocMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FromResponse for Twhere
T: DeserializeOwned,
impl<T> FromResponse for Twhere
T: DeserializeOwned,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more