pub struct UserMutationResponse {
pub user_id: UserId,
pub version: u64,
}Expand description
The exact durable outcome of a user mutation.
Clients can fetch the user resource when they need its current projection.
Retrying the command with the same Idempotency-Key returns this same
identifier and version without applying the mutation again.
Fields§
§user_id: UserId§version: u64Trait Implementations§
Source§impl Clone for UserMutationResponse
impl Clone for UserMutationResponse
impl Copy for UserMutationResponse
Source§impl Debug for UserMutationResponse
impl Debug for UserMutationResponse
Source§impl<'de> Deserialize<'de> for UserMutationResponse
impl<'de> Deserialize<'de> for UserMutationResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UserMutationResponse
Source§impl PartialEq for UserMutationResponse
impl PartialEq for UserMutationResponse
Source§impl Serialize for UserMutationResponse
impl Serialize for UserMutationResponse
impl StructuralPartialEq for UserMutationResponse
Auto Trait Implementations§
impl Freeze for UserMutationResponse
impl RefUnwindSafe for UserMutationResponse
impl Send for UserMutationResponse
impl Sync for UserMutationResponse
impl Unpin for UserMutationResponse
impl UnsafeUnpin for UserMutationResponse
impl UnwindSafe for UserMutationResponse
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