pub struct MessagePredicates { /* private fields */ }Implementations§
Source§impl MessagePredicates
impl MessagePredicates
pub const fn role(&self) -> Option<Role>
pub fn kinds(&self) -> Option<&[MessageKind]>
Sourcepub fn providers(&self) -> Option<&[Provider]>
pub fn providers(&self) -> Option<&[Provider]>
Selected session sources in canonical identifier order, or None for every source.
pub fn session(&self) -> Option<&str>
pub fn workspace_path_prefix(&self) -> Option<&str>
pub fn transcript_path_prefix(&self) -> Option<&str>
pub fn exclude_workspace_path_prefixes(&self) -> impl Iterator<Item = &str>
pub fn exclude_transcript_path_prefixes(&self) -> impl Iterator<Item = &str>
pub fn exclude_session_ids(&self) -> impl Iterator<Item = &str>
pub const fn time(&self) -> RequestedTimeRange
pub const fn sequence(&self) -> Option<SequenceRange>
pub fn tool_name_contains(&self) -> Option<&str>
pub const fn include_compaction(&self) -> bool
Trait Implementations§
Source§impl Clone for MessagePredicates
impl Clone for MessagePredicates
Source§impl Debug for MessagePredicates
impl Debug for MessagePredicates
Source§impl Default for MessagePredicates
impl Default for MessagePredicates
impl Eq for MessagePredicates
Source§impl Hash for MessagePredicates
impl Hash for MessagePredicates
Source§impl PartialEq for MessagePredicates
impl PartialEq for MessagePredicates
Source§impl Serialize for MessagePredicates
impl Serialize for MessagePredicates
impl StructuralPartialEq for MessagePredicates
Auto Trait Implementations§
impl Freeze for MessagePredicates
impl RefUnwindSafe for MessagePredicates
impl Send for MessagePredicates
impl Sync for MessagePredicates
impl Unpin for MessagePredicates
impl UnsafeUnpin for MessagePredicates
impl UnwindSafe for MessagePredicates
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 more