pub struct SignReasonedActionOptions {
pub include_reasoning: bool,
pub escrow_receipt: Option<Value>,
pub sealed_at: Option<String>,
pub created: Option<String>,
}Expand description
Options for sign_reasoned_action.
Fields§
§include_reasoning: boolIf false, publish only the digest (private reasoning); reveal anchors out of band at audit time. Defaults to true.
escrow_receipt: Option<Value>Attach an escrow receipt proving the commitment was fixed before this action.
sealed_at: Option<String>The moment the intent was sealed. Read by the intent recheck. When escrow
is used this SHOULD equal the receipt’s depositedAt; without escrow the
signer stamps it. Absent by default (backward compatible).
created: Option<String>The proof’s created: the time of signing, as the reference stamps
it. None keeps valid_from (this call reads no clock; the JSON entry
gives the host clock).
Implementations§
Trait Implementations§
Source§impl Clone for SignReasonedActionOptions
impl Clone for SignReasonedActionOptions
Source§impl Debug for SignReasonedActionOptions
impl Debug for SignReasonedActionOptions
Auto Trait Implementations§
impl Forget for SignReasonedActionOptions
impl Freeze for SignReasonedActionOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for SignReasonedActionOptions
impl RefUnwindSafe for SignReasonedActionOptions
impl Send for SignReasonedActionOptions
impl Sync for SignReasonedActionOptions
impl Unpin for SignReasonedActionOptions
impl UnsafeUnpin for SignReasonedActionOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for SignReasonedActionOptions
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