pub struct ServiceState<I, S, A> {
pub config: ServiceConfig,
pub index: I,
pub storage: S,
pub auth: A,
}
Fields§
§config: ServiceConfig
§index: I
§storage: S
§auth: A
Implementations§
Source§impl<I, S, A> ServiceState<I, S, A>
impl<I, S, A> ServiceState<I, S, A>
pub fn new(config: ServiceConfig, index: I, storage: S, auth: A) -> Self
Auto Trait Implementations§
impl<I, S, A> Freeze for ServiceState<I, S, A>
impl<I, S, A> RefUnwindSafe for ServiceState<I, S, A>
impl<I, S, A> Send for ServiceState<I, S, A>
impl<I, S, A> Sync for ServiceState<I, S, A>
impl<I, S, A> Unpin for ServiceState<I, S, A>
impl<I, S, A> UnwindSafe for ServiceState<I, S, A>
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