Struct vit_servicing_station_lib::v0::context::Context
source · pub struct Context {
pub db_connection_pool: DbConnectionPool,
pub block0: Vec<GenesisBlock>,
pub versioning: String,
}
Fields§
§db_connection_pool: DbConnectionPool
§block0: Vec<GenesisBlock>
§versioning: String
Implementations§
source§impl Context
impl Context
pub fn new( db_connection_pool: DbConnectionPool, block0: Vec<GenesisBlock>, versioning: String ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
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