pub struct HistoryScope {
pub session_id: String,
pub channel_id: Option<String>,
pub visibility: ChannelVisibility,
pub user_role: UserRole,
pub trusted: bool,
pub include_subagents: bool,
pub session_filter: Option<String>,
pub task_filter: Option<String>,
pub snapshot_max_event_id: i64,
}Expand description
Who may see which conversation history in a search.
Fields§
§session_id: String§channel_id: Option<String>§visibility: ChannelVisibility§user_role: UserRole§trusted: bool§include_subagents: bool§session_filter: Option<String>§task_filter: Option<String>§snapshot_max_event_id: i64Trait Implementations§
Source§impl Clone for HistoryScope
impl Clone for HistoryScope
Auto Trait Implementations§
impl Forget for HistoryScope
impl Freeze for HistoryScope
impl Move for HistoryScope
impl RefUnwindSafe for HistoryScope
impl Send for HistoryScopewhere
RawVecInner: Send,
impl Sync for HistoryScopewhere
RawVecInner: Sync,
impl Unpin for HistoryScope
impl UnsafeUnpin for HistoryScope
impl UnwindSafe for HistoryScopewhere
RawVecInner: UnwindSafe,
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<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