pub struct InvocationId(pub Uuid);Expand description
Stable key carried from admission through completion and used to deduplicate retry-safe calls.
Tuple Fields§
§0: UuidImplementations§
Source§impl InvocationId
impl InvocationId
pub fn new() -> InvocationId
Trait Implementations§
Source§impl Clone for InvocationId
impl Clone for InvocationId
Source§fn clone(&self) -> InvocationId
fn clone(&self) -> InvocationId
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 InvocationId
Source§impl Debug for InvocationId
impl Debug for InvocationId
Source§impl Default for InvocationId
impl Default for InvocationId
Source§fn default() -> InvocationId
fn default() -> InvocationId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvocationId
impl<'de> Deserialize<'de> for InvocationId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InvocationId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InvocationId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InvocationId
An invocation id as a caller writes it: the uuid it is, which std::str::FromStr reads back.
impl Display for InvocationId
An invocation id as a caller writes it: the uuid it is, which std::str::FromStr reads back.
impl Eq for InvocationId
Source§impl FromStr for InvocationId
Read an invocation id a caller keeps in its own words (a page’s dialog, a script’s file) so
its next ask is the same invocation: the server answers it with what the first did.
impl FromStr for InvocationId
Read an invocation id a caller keeps in its own words (a page’s dialog, a script’s file) so its next ask is the same invocation: the server answers it with what the first did.
Source§impl Hash for InvocationId
impl Hash for InvocationId
Source§impl PartialEq for InvocationId
impl PartialEq for InvocationId
Source§impl Serialize for InvocationId
impl Serialize for InvocationId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InvocationId
Auto Trait Implementations§
impl Forget for InvocationId
impl Freeze for InvocationId
impl Move for InvocationId
impl RefUnwindSafe for InvocationId
impl Send for InvocationId
impl Sync for InvocationId
impl Unpin for InvocationId
impl UnsafeUnpin for InvocationId
impl UnwindSafe for InvocationId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more