pub struct AppState {
pub store: Arc<dyn Store>,
pub events: Sender<CaptureEvent>,
pub provider: ProviderKind,
pub upstream: Url,
pub session_id: SessionId,
pub started_at: DateTime<Utc>,
pub redact: bool,
}Fields§
§store: Arc<dyn Store>§events: Sender<CaptureEvent>§provider: ProviderKind§upstream: Url§session_id: SessionId§started_at: DateTime<Utc>§redact: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnsafeUnpin for AppState
impl !UnwindSafe for AppState
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