pub struct RefgetState {
pub sequence_store: Arc<dyn SequenceStore>,
pub seqcol_store: Arc<dyn SeqColStore>,
pub config: RefgetConfig,
}Expand description
Shared application state passed to all handlers.
Fields§
§sequence_store: Arc<dyn SequenceStore>§seqcol_store: Arc<dyn SeqColStore>§config: RefgetConfigTrait Implementations§
Source§impl Clone for RefgetState
impl Clone for RefgetState
Source§fn clone(&self) -> RefgetState
fn clone(&self) -> RefgetState
Returns a duplicate of the value. Read more
1.0.0 · 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 RefgetState
impl !RefUnwindSafe for RefgetState
impl Send for RefgetState
impl Sync for RefgetState
impl Unpin for RefgetState
impl UnsafeUnpin for RefgetState
impl !UnwindSafe for RefgetState
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