pub struct ApiVisibilityLegReceipt { /* private fields */ }Expand description
Raw-value-free transport receipt for one completed leg.
Digests are pseudonymous and may be dictionary-testable. They are intended for authorized audit/replay correlation, not as secret-protection tokens.
Implementations§
Source§impl ApiVisibilityLegReceipt
impl ApiVisibilityLegReceipt
Sourcepub const fn leg(&self) -> ApiVisibilityLeg
pub const fn leg(&self) -> ApiVisibilityLeg
Returns whether this receipt describes control or candidate.
Sourcepub const fn retained_body_bytes(&self) -> u64
pub const fn retained_body_bytes(&self) -> u64
Returns bytes retained under broker and per-request limits.
Sourcepub const fn body_truncated(&self) -> bool
pub const fn body_truncated(&self) -> bool
Returns whether the response body was incomplete.
Sourcepub const fn json_compatible_media_type(&self) -> bool
pub const fn json_compatible_media_type(&self) -> bool
Returns whether the single normalized media type was JSON-compatible.
Sourcepub fn request_template_sha256(&self) -> &str
pub fn request_template_sha256(&self) -> &str
Returns the context-value-free request-template digest.
Sourcepub fn response_body_sha256(&self) -> &str
pub fn response_body_sha256(&self) -> &str
Returns the domain-separated retained-body digest.
Trait Implementations§
Source§impl Clone for ApiVisibilityLegReceipt
impl Clone for ApiVisibilityLegReceipt
Source§fn clone(&self) -> ApiVisibilityLegReceipt
fn clone(&self) -> ApiVisibilityLegReceipt
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 ApiVisibilityLegReceipt
impl Debug for ApiVisibilityLegReceipt
impl Eq for ApiVisibilityLegReceipt
Source§impl PartialEq for ApiVisibilityLegReceipt
impl PartialEq for ApiVisibilityLegReceipt
Source§impl Serialize for ApiVisibilityLegReceipt
impl Serialize for ApiVisibilityLegReceipt
impl StructuralPartialEq for ApiVisibilityLegReceipt
Auto Trait Implementations§
impl Freeze for ApiVisibilityLegReceipt
impl RefUnwindSafe for ApiVisibilityLegReceipt
impl Send for ApiVisibilityLegReceipt
impl Sync for ApiVisibilityLegReceipt
impl Unpin for ApiVisibilityLegReceipt
impl UnsafeUnpin for ApiVisibilityLegReceipt
impl UnwindSafe for ApiVisibilityLegReceipt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more