pub struct BusinessIdService { /* private fields */ }Implementations§
Source§impl BusinessIdService
impl BusinessIdService
pub fn new(allocator: impl BusinessIdAllocator + 'static) -> Self
pub fn ensure<S: BusinessIdSlot>( &self, context: &UserContext, definition: &BusinessIdDefinition, tenant: &str, aggregate_type: &str, slot: &mut S, ) -> Result<BusinessIdValue, BusinessIdError>
Trait Implementations§
Source§impl Clone for BusinessIdService
impl Clone for BusinessIdService
Source§fn clone(&self) -> BusinessIdService
fn clone(&self) -> BusinessIdService
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for BusinessIdService
impl !UnwindSafe for BusinessIdService
impl Freeze for BusinessIdService
impl Send for BusinessIdService
impl Sync for BusinessIdService
impl Unpin for BusinessIdService
impl UnsafeUnpin for BusinessIdService
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