pub struct FeedbackReleaseBinding {
pub release_id: String,
pub release_digest: String,
pub environment: String,
pub deployment_attempt_id: String,
pub deployment_receipt_digest: String,
pub ui_build_id: Option<String>,
pub ui_build_digest: Option<String>,
}Expand description
Exact server-authoritative release and deployment identity captured with feedback.
The binding is stored as an internal system message so the published FeedbackContext
shape remains source compatible across Minco 1.x while durable feedback records still
carry the immutable release and deployment receipt identities.
Fields§
§release_id: String§release_digest: String§environment: String§deployment_attempt_id: String§deployment_receipt_digest: String§ui_build_id: Option<String>§ui_build_digest: Option<String>Implementations§
Source§impl FeedbackReleaseBinding
impl FeedbackReleaseBinding
pub fn validate(&self) -> Result<(), FeedbackValidationError>
pub fn from_thread(thread: &FeedbackThread) -> Option<Self>
Sourcepub fn exact_from_thread(
thread: &FeedbackThread,
) -> Result<Option<Self>, FeedbackValidationError>
pub fn exact_from_thread( thread: &FeedbackThread, ) -> Result<Option<Self>, FeedbackValidationError>
Return the one valid internal release binding, rejecting malformed or duplicate markers.
pub fn from_message(message: &FeedbackMessage) -> Option<Self>
Sourcepub fn system_message(&self) -> Result<FeedbackMessage, FeedbackValidationError>
pub fn system_message(&self) -> Result<FeedbackMessage, FeedbackValidationError>
Encode the binding as the non-client-visible system message used by durable stores.
Applications normally use crate::FeedbackService::with_release_binding, which
stamps this message automatically. This method is public for deterministic import,
migration, and verification tooling that constructs an already-authorized thread.
Trait Implementations§
Source§impl Clone for FeedbackReleaseBinding
impl Clone for FeedbackReleaseBinding
Source§fn clone(&self) -> FeedbackReleaseBinding
fn clone(&self) -> FeedbackReleaseBinding
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 moreSource§impl Debug for FeedbackReleaseBinding
impl Debug for FeedbackReleaseBinding
Source§impl<'de> Deserialize<'de> for FeedbackReleaseBinding
impl<'de> Deserialize<'de> for FeedbackReleaseBinding
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 FeedbackReleaseBinding
Source§impl PartialEq for FeedbackReleaseBinding
impl PartialEq for FeedbackReleaseBinding
Source§impl Serialize for FeedbackReleaseBinding
impl Serialize for FeedbackReleaseBinding
impl StructuralPartialEq for FeedbackReleaseBinding
Auto Trait Implementations§
impl Freeze for FeedbackReleaseBinding
impl RefUnwindSafe for FeedbackReleaseBinding
impl Send for FeedbackReleaseBinding
impl Sync for FeedbackReleaseBinding
impl Unpin for FeedbackReleaseBinding
impl UnsafeUnpin for FeedbackReleaseBinding
impl UnwindSafe for FeedbackReleaseBinding
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<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
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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