pub struct ReceiptRef {
pub kind: ReceiptKind,
pub reference: String,
pub label: Option<String>,
}Expand description
Reference to a durable artifact, gate, receipt, or approval.
reference is a logical identifier within the owner’s namespace — never
an absolute filesystem path, never secret-bearing.
Fields§
§kind: ReceiptKind§reference: String§label: Option<String>Optional short human-readable label.
Trait Implementations§
Source§impl Clone for ReceiptRef
impl Clone for ReceiptRef
Source§fn clone(&self) -> ReceiptRef
fn clone(&self) -> ReceiptRef
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 ReceiptRef
impl Debug for ReceiptRef
Source§impl<'de> Deserialize<'de> for ReceiptRef
impl<'de> Deserialize<'de> for ReceiptRef
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 ReceiptRef
Source§impl PartialEq for ReceiptRef
impl PartialEq for ReceiptRef
Source§impl Serialize for ReceiptRef
impl Serialize for ReceiptRef
impl StructuralPartialEq for ReceiptRef
Auto Trait Implementations§
impl Freeze for ReceiptRef
impl RefUnwindSafe for ReceiptRef
impl Send for ReceiptRef
impl Sync for ReceiptRef
impl Unpin for ReceiptRef
impl UnsafeUnpin for ReceiptRef
impl UnwindSafe for ReceiptRef
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