pub struct DagDbTrustCheckRequest {Show 19 fields
pub tenant_id: String,
pub namespace: String,
pub idempotency_key: String,
pub agent_did: String,
pub operator_did: String,
pub model_name: String,
pub model_version: String,
pub provider_or_builder: String,
pub requested_action: String,
pub requested_scope_hash: String,
pub purpose: ConsentPurpose,
pub autonomy_level: String,
pub nonce: String,
pub expires_at: String,
pub signature: String,
pub checkpoint_hash: Option<String>,
pub attestation_hash: Option<String>,
pub evidence_receipt_hashes: Option<Vec<String>>,
pub prior_trust_receipt_hash: Option<String>,
}Expand description
Trust-check request.
Fields§
§tenant_id: String§namespace: String§idempotency_key: String§agent_did: String§operator_did: String§model_name: String§model_version: String§provider_or_builder: String§requested_action: String§requested_scope_hash: String§purpose: ConsentPurpose§autonomy_level: String§nonce: String§expires_at: String§signature: String§checkpoint_hash: Option<String>§attestation_hash: Option<String>§evidence_receipt_hashes: Option<Vec<String>>§prior_trust_receipt_hash: Option<String>Trait Implementations§
Source§impl Clone for DagDbTrustCheckRequest
impl Clone for DagDbTrustCheckRequest
Source§fn clone(&self) -> DagDbTrustCheckRequest
fn clone(&self) -> DagDbTrustCheckRequest
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 DagDbTrustCheckRequest
impl Debug for DagDbTrustCheckRequest
Source§impl<'de> Deserialize<'de> for DagDbTrustCheckRequest
impl<'de> Deserialize<'de> for DagDbTrustCheckRequest
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 DagDbTrustCheckRequest
Source§impl PartialEq for DagDbTrustCheckRequest
impl PartialEq for DagDbTrustCheckRequest
Source§fn eq(&self, other: &DagDbTrustCheckRequest) -> bool
fn eq(&self, other: &DagDbTrustCheckRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbTrustCheckRequest
impl Serialize for DagDbTrustCheckRequest
impl StructuralPartialEq for DagDbTrustCheckRequest
Auto Trait Implementations§
impl Freeze for DagDbTrustCheckRequest
impl RefUnwindSafe for DagDbTrustCheckRequest
impl Send for DagDbTrustCheckRequest
impl Sync for DagDbTrustCheckRequest
impl Unpin for DagDbTrustCheckRequest
impl UnsafeUnpin for DagDbTrustCheckRequest
impl UnwindSafe for DagDbTrustCheckRequest
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