pub struct DbOps {
pub clear: bool,
pub insert: HashMap<SmolStr, Bytes>,
pub delete: Vec<SmolStr>,
pub get_one: HashMap<SmolStr, Vec<Sender<Option<Bytes>>>>,
pub get_many: Vec<DbOp>,
pub get_all: Vec<Sender<HashMap<SmolStr, Bytes>>>,
}Fields§
§clear: bool§insert: HashMap<SmolStr, Bytes>§delete: Vec<SmolStr>§get_one: HashMap<SmolStr, Vec<Sender<Option<Bytes>>>>§get_many: Vec<DbOp>§get_all: Vec<Sender<HashMap<SmolStr, Bytes>>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DbOps
impl !UnwindSafe for DbOps
impl Freeze for DbOps
impl Send for DbOps
impl Sync for DbOps
impl Unpin for DbOps
impl UnsafeUnpin for DbOps
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