pub struct ApprovalReceipt(/* private fields */);Expand description
A one-time bearer receipt minted by sysknife approve.
This is a credential: whoever holds it can execute the approved step
once. Debug is redacted so a tracing::debug!("{req:?}") on any struct
carrying one cannot spill it into a log. Use ApprovalReceipt::as_str
where the real value is genuinely needed.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ApprovalReceipt
impl AsRef<str> for ApprovalReceipt
Source§impl Clone for ApprovalReceipt
impl Clone for ApprovalReceipt
Source§impl Debug for ApprovalReceipt
impl Debug for ApprovalReceipt
Source§impl<'de> Deserialize<'de> for ApprovalReceipt
impl<'de> Deserialize<'de> for ApprovalReceipt
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 ApprovalReceipt
Source§impl From<String> for ApprovalReceipt
impl From<String> for ApprovalReceipt
Source§impl Hash for ApprovalReceipt
impl Hash for ApprovalReceipt
Source§impl PartialEq for ApprovalReceipt
impl PartialEq for ApprovalReceipt
Source§impl Serialize for ApprovalReceipt
impl Serialize for ApprovalReceipt
impl StructuralPartialEq for ApprovalReceipt
Auto Trait Implementations§
impl Freeze for ApprovalReceipt
impl RefUnwindSafe for ApprovalReceipt
impl Send for ApprovalReceipt
impl Sync for ApprovalReceipt
impl Unpin for ApprovalReceipt
impl UnsafeUnpin for ApprovalReceipt
impl UnwindSafe for ApprovalReceipt
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