#[non_exhaustive]pub enum CommerceBackend {
Sqlite,
Postgres,
External,
}Expand description
Active database backend used by a Commerce instance.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sqlite
Embedded SQLite backend.
Postgres
PostgreSQL backend.
External
Caller-provided database implementation.
Trait Implementations§
Source§impl Clone for CommerceBackend
impl Clone for CommerceBackend
Source§fn clone(&self) -> CommerceBackend
fn clone(&self) -> CommerceBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommerceBackend
Source§impl Debug for CommerceBackend
impl Debug for CommerceBackend
impl Eq for CommerceBackend
Source§impl PartialEq for CommerceBackend
impl PartialEq for CommerceBackend
impl StructuralPartialEq for CommerceBackend
Auto Trait Implementations§
impl Freeze for CommerceBackend
impl RefUnwindSafe for CommerceBackend
impl Send for CommerceBackend
impl Sync for CommerceBackend
impl Unpin for CommerceBackend
impl UnsafeUnpin for CommerceBackend
impl UnwindSafe for CommerceBackend
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