pub struct UserRepository {
pub connection_string: String,
}
Expand description
User repository interface - would typically be a trait in a real application
Fields§
§connection_string: String
Implementations§
Trait Implementations§
Source§impl Debug for UserRepository
impl Debug for UserRepository
Source§impl Default for UserRepository
impl Default for UserRepository
Source§fn default() -> UserRepository
fn default() -> UserRepository
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserRepository
impl RefUnwindSafe for UserRepository
impl Send for UserRepository
impl Sync for UserRepository
impl Unpin for UserRepository
impl UnwindSafe for UserRepository
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