Struct dbstruct::wrapper::DefaultTrait
source · pub struct DefaultTrait<T, DS>where
T: Serialize + DeserializeOwned + Default,
DS: DataStore,{ /* private fields */ }Expand description
handles missing values by generating a replacement using the types Default implementation
Implementations§
Auto Trait Implementations§
impl<T, DS> RefUnwindSafe for DefaultTrait<T, DS>where DS: RefUnwindSafe, T: RefUnwindSafe,
impl<T, DS> Send for DefaultTrait<T, DS>where DS: Send, T: Send,
impl<T, DS> Sync for DefaultTrait<T, DS>where DS: Sync, T: Sync,
impl<T, DS> Unpin for DefaultTrait<T, DS>where DS: Unpin, T: Unpin,
impl<T, DS> UnwindSafe for DefaultTrait<T, DS>where DS: UnwindSafe, T: UnwindSafe,
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