pub struct DisplayNameNotApplied {
pub requested: String,
pub standing: Option<String>,
}Expand description
The report that an idempotent start replay did not apply the display name this call requested (#211).
Carries both sides so the caller can act on the difference: rename the run deliberately, use a different idempotency key, or accept the standing name.
Fields§
§requested: StringThe display name this start asked for. Never empty and never absent: the report is raised only for a call that actually requested a name, so there is always a name that did not get applied.
standing: Option<String>The display name the CACHED start requested for that run (None when
that start asked for no name).
This is what the first start asked for, not a live read: the cache is never refreshed, so if the run has since been renamed through the rename surface, this is the name it was STARTED with rather than the one it now wears. Read it as “the name this key already stood for”, and read the run itself if you need its current name.
Trait Implementations§
Source§impl Clone for DisplayNameNotApplied
impl Clone for DisplayNameNotApplied
Source§fn clone(&self) -> DisplayNameNotApplied
fn clone(&self) -> DisplayNameNotApplied
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DisplayNameNotApplied
impl Debug for DisplayNameNotApplied
impl Eq for DisplayNameNotApplied
Source§impl PartialEq for DisplayNameNotApplied
impl PartialEq for DisplayNameNotApplied
impl StructuralPartialEq for DisplayNameNotApplied
Auto Trait Implementations§
impl Freeze for DisplayNameNotApplied
impl RefUnwindSafe for DisplayNameNotApplied
impl Send for DisplayNameNotApplied
impl Sync for DisplayNameNotApplied
impl Unpin for DisplayNameNotApplied
impl UnsafeUnpin for DisplayNameNotApplied
impl UnwindSafe for DisplayNameNotApplied
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request