pub struct NegativeCapabilityProof {
pub proof_id: NegativeProofId,
pub identity: IdentityId,
pub cannot_do: String,
pub reason: ImpossibilityReason,
pub evidence: NegativeEvidence,
pub generated_at: u64,
pub valid_until: Option<u64>,
pub proof_hash: String,
pub signature: String,
}Expand description
Negative capability proof — cryptographic evidence that an agent CANNOT do something.
Fields§
§proof_id: NegativeProofId§identity: IdentityId§cannot_do: String§reason: ImpossibilityReason§evidence: NegativeEvidence§generated_at: u64§valid_until: Option<u64>§proof_hash: String§signature: StringTrait Implementations§
Source§impl Clone for NegativeCapabilityProof
impl Clone for NegativeCapabilityProof
Source§fn clone(&self) -> NegativeCapabilityProof
fn clone(&self) -> NegativeCapabilityProof
Returns a duplicate of the value. Read more
1.0.0 · 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 NegativeCapabilityProof
impl Debug for NegativeCapabilityProof
Source§impl<'de> Deserialize<'de> for NegativeCapabilityProof
impl<'de> Deserialize<'de> for NegativeCapabilityProof
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
Auto Trait Implementations§
impl Freeze for NegativeCapabilityProof
impl RefUnwindSafe for NegativeCapabilityProof
impl Send for NegativeCapabilityProof
impl Sync for NegativeCapabilityProof
impl Unpin for NegativeCapabilityProof
impl UnsafeUnpin for NegativeCapabilityProof
impl UnwindSafe for NegativeCapabilityProof
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