pub struct DB { /* private fields */ }
Expand description
The central client interface applications will work with
§Example
let db = DB::new(
Credentials::new(
env::var("AWS_ACCESS_KEY_ID")?,
env::var("AWS_SECRET_ACCESS_KEY")?,
),
Table::new(
"table-name",
"key-attr-name",
"value-attr-name",
"us-east-1".parse()?,
None
),
Reqwest::new(),
);
Implementations§
Auto Trait Implementations§
impl Freeze for DB
impl !RefUnwindSafe for DB
impl !Send for DB
impl !Sync for DB
impl Unpin for DB
impl !UnwindSafe for DB
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