pub enum ScimBulkMode {
Independent,
Atomic,
}Expand description
How POST /scim/v2/Bulk applies database changes.
Better Auth 1.6.9 does not implement Bulk (bulk.supported: false). RustAuth
implements RFC 7644 bulk with two modes:
ScimBulkMode::Independent(default): each operation commits on its own, matching typical SCIM deployments andfailOnErrorsstop semantics.ScimBulkMode::Atomic: all mutating operations run in one adapter transaction; the first error rolls back earlier mutations in the same request.
Variants§
Independent
Sequential operations; each mutation uses its own transaction (default).
Atomic
One transaction for the whole bulk request; rollback on first failing op.
Trait Implementations§
Source§impl Clone for ScimBulkMode
impl Clone for ScimBulkMode
Source§fn clone(&self) -> ScimBulkMode
fn clone(&self) -> ScimBulkMode
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 ScimBulkMode
Source§impl Debug for ScimBulkMode
impl Debug for ScimBulkMode
Source§impl Default for ScimBulkMode
impl Default for ScimBulkMode
Source§fn default() -> ScimBulkMode
fn default() -> ScimBulkMode
Returns the “default value” for a type. Read more
impl Eq for ScimBulkMode
Source§impl PartialEq for ScimBulkMode
impl PartialEq for ScimBulkMode
Source§fn eq(&self, other: &ScimBulkMode) -> bool
fn eq(&self, other: &ScimBulkMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScimBulkMode
Auto Trait Implementations§
impl Freeze for ScimBulkMode
impl RefUnwindSafe for ScimBulkMode
impl Send for ScimBulkMode
impl Sync for ScimBulkMode
impl Unpin for ScimBulkMode
impl UnsafeUnpin for ScimBulkMode
impl UnwindSafe for ScimBulkMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.