pub struct SignedExecutionNonce {
pub nonce: ExecutionNonce,
pub signature: Signature,
}Expand description
Kernel-signed execution nonce carried across agent/kernel transports.
Fields§
§nonce: ExecutionNonce§signature: SignatureImplementations§
Source§impl SignedExecutionNonce
impl SignedExecutionNonce
pub fn nonce_id(&self) -> &str
pub fn expires_at(&self) -> i64
pub fn reserved_hold_id(&self) -> Option<&str>
pub fn reserving_request_id(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for SignedExecutionNonce
impl Clone for SignedExecutionNonce
Source§fn clone(&self) -> SignedExecutionNonce
fn clone(&self) -> SignedExecutionNonce
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 SignedExecutionNonce
impl Debug for SignedExecutionNonce
Source§impl<'de> Deserialize<'de> for SignedExecutionNonce
impl<'de> Deserialize<'de> for SignedExecutionNonce
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignedExecutionNonce, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignedExecutionNonce, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignedExecutionNonce
Source§impl PartialEq for SignedExecutionNonce
impl PartialEq for SignedExecutionNonce
Source§impl PresentedNonceView for SignedExecutionNonce
impl PresentedNonceView for SignedExecutionNonce
fn nonce_id(&self) -> &str
fn bound_capability_id(&self) -> &str
fn bound_tool_server(&self) -> &str
fn bound_tool_name(&self) -> &str
fn bound_parameter_hash(&self) -> &str
Source§fn bound_reserved_hold_id(&self) -> Option<&str>
fn bound_reserved_hold_id(&self) -> Option<&str>
The reserved budget hold this nonce cryptographically names, or
None
when the nonce was minted on a non-reserving allow path. The
reconcile-by-nonce path binds the settled hold’s id into the signed nonce
body, so an authoritative reconciled receipt built from such a nonce must
commit that exact hold. Non-reserving allow paths (single-shot mediated
spend, strict-retry completion) return None and bind the nonce to the
receipt through the nonce-id link alone.fn verify_signed_by(&self, key: &PublicKey) -> bool
Source§impl Serialize for SignedExecutionNonce
impl Serialize for SignedExecutionNonce
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SignedExecutionNonce
Auto Trait Implementations§
impl Freeze for SignedExecutionNonce
impl RefUnwindSafe for SignedExecutionNonce
impl Send for SignedExecutionNonce
impl Sync for SignedExecutionNonce
impl Unpin for SignedExecutionNonce
impl UnsafeUnpin for SignedExecutionNonce
impl UnwindSafe for SignedExecutionNonce
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