pub struct RewriteContext {
pub session_id: String,
pub trigger: RewriteTrigger,
pub state: SessionReadView,
pub host: Arc<dyn HistoryHost>,
}Expand description
Context passed to a history rewriter.
Fields§
§session_id: String§trigger: RewriteTrigger§state: SessionReadView§host: Arc<dyn HistoryHost>Trait Implementations§
Source§impl Clone for RewriteContext
impl Clone for RewriteContext
Source§fn clone(&self) -> RewriteContext
fn clone(&self) -> RewriteContext
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 moreAuto Trait Implementations§
impl Freeze for RewriteContext
impl !RefUnwindSafe for RewriteContext
impl Send for RewriteContext
impl Sync for RewriteContext
impl Unpin for RewriteContext
impl UnsafeUnpin for RewriteContext
impl !UnwindSafe for RewriteContext
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