pub(super) struct ProjectionMetadata {Show 16 fields
pub builder: String,
pub strategy: String,
pub categories: Option<Vec<String>>,
pub message_count: Option<usize>,
pub tool_count: Option<usize>,
pub max_context_bytes: Option<u64>,
pub request_bytes: Option<u64>,
pub source_message_count: Option<u64>,
pub included_message_count: Option<u64>,
pub omitted_message_count: Option<u64>,
pub included_exchange_count: Option<u64>,
pub omitted_exchange_count: Option<u64>,
pub retained_source_ranges: Option<Vec<SourceRange>>,
pub working_state_projection_version: Option<i64>,
pub working_state_revision: Option<i64>,
pub working_state_event_cursor: Option<i64>,
}Fields§
§builder: String§strategy: String§categories: Option<Vec<String>>§message_count: Option<usize>§tool_count: Option<usize>§max_context_bytes: Option<u64>§request_bytes: Option<u64>§source_message_count: Option<u64>§included_message_count: Option<u64>§omitted_message_count: Option<u64>§included_exchange_count: Option<u64>§omitted_exchange_count: Option<u64>§retained_source_ranges: Option<Vec<SourceRange>>§working_state_projection_version: Option<i64>§working_state_revision: Option<i64>§working_state_event_cursor: Option<i64>Trait Implementations§
Source§impl Clone for ProjectionMetadata
impl Clone for ProjectionMetadata
Source§fn clone(&self) -> ProjectionMetadata
fn clone(&self) -> ProjectionMetadata
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 ProjectionMetadata
impl Debug for ProjectionMetadata
Source§impl<'de> Deserialize<'de> for ProjectionMetadata
impl<'de> Deserialize<'de> for ProjectionMetadata
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
impl Eq for ProjectionMetadata
Source§impl PartialEq for ProjectionMetadata
impl PartialEq for ProjectionMetadata
Source§impl Serialize for ProjectionMetadata
impl Serialize for ProjectionMetadata
impl StructuralPartialEq for ProjectionMetadata
Auto Trait Implementations§
impl Freeze for ProjectionMetadata
impl RefUnwindSafe for ProjectionMetadata
impl Send for ProjectionMetadata
impl Sync for ProjectionMetadata
impl Unpin for ProjectionMetadata
impl UnsafeUnpin for ProjectionMetadata
impl UnwindSafe for ProjectionMetadata
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
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more