pub struct WriteResponse<E> { /* private fields */ }Expand description
WriteResponse
Result of a single write operation. Provides explicit access to the stored entity and its identifier.
Implementations§
Source§impl<E> WriteResponse<E>
impl<E> WriteResponse<E>
Sourcepub fn id(&self) -> Id<E>where
E: EntityValue,
pub fn id(&self) -> Id<E>where
E: EntityValue,
Return the stored entity’s identity
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for WriteResponse<E>where
E: Freeze,
impl<E> RefUnwindSafe for WriteResponse<E>where
E: RefUnwindSafe,
impl<E> Send for WriteResponse<E>where
E: Send,
impl<E> Sync for WriteResponse<E>where
E: Sync,
impl<E> Unpin for WriteResponse<E>where
E: Unpin,
impl<E> UnsafeUnpin for WriteResponse<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for WriteResponse<E>where
E: UnwindSafe,
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