pub struct RandomId(/* private fields */);Expand description
Deterministic random ID attached to an Inline mutation.
Hosts should derive this from their own durable event or operation ID plus message content so retries after restart remain idempotent.
Implementations§
Trait Implementations§
impl Copy for RandomId
Source§impl<'de> Deserialize<'de> for RandomId
impl<'de> Deserialize<'de> for RandomId
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 RandomId
impl StructuralPartialEq for RandomId
Auto Trait Implementations§
impl Freeze for RandomId
impl RefUnwindSafe for RandomId
impl Send for RandomId
impl Sync for RandomId
impl Unpin for RandomId
impl UnsafeUnpin for RandomId
impl UnwindSafe for RandomId
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