pub struct DagDbTrustCheckResponse {Show 14 fields
pub schema_version: String,
pub tenant_id: String,
pub namespace: String,
pub idempotency_key: String,
pub credential_id: String,
pub safety_score_id: String,
pub receipt_hash: String,
pub validation_status: ValidationStatus,
pub council_status: CouncilReviewStatus,
pub credential_status: CredentialStatus,
pub total_score_bp: u16,
pub created_new: bool,
pub block_reason: Option<String>,
pub expires_at: Option<String>,
}Expand description
Trust-check response.
Fields§
§schema_version: StringStable wire-contract version (dagdb_trust_check_response_v1).
tenant_id: String§namespace: String§idempotency_key: String§credential_id: String§safety_score_id: String§receipt_hash: String§validation_status: ValidationStatus§council_status: CouncilReviewStatus§credential_status: CredentialStatus§total_score_bp: u16§created_new: bool§block_reason: Option<String>§expires_at: Option<String>Trait Implementations§
Source§impl Clone for DagDbTrustCheckResponse
impl Clone for DagDbTrustCheckResponse
Source§fn clone(&self) -> DagDbTrustCheckResponse
fn clone(&self) -> DagDbTrustCheckResponse
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 DagDbTrustCheckResponse
impl Debug for DagDbTrustCheckResponse
Source§impl<'de> Deserialize<'de> for DagDbTrustCheckResponse
impl<'de> Deserialize<'de> for DagDbTrustCheckResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbTrustCheckResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbTrustCheckResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbTrustCheckResponse
Source§impl PartialEq for DagDbTrustCheckResponse
impl PartialEq for DagDbTrustCheckResponse
Source§fn eq(&self, other: &DagDbTrustCheckResponse) -> bool
fn eq(&self, other: &DagDbTrustCheckResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbTrustCheckResponse
impl Serialize for DagDbTrustCheckResponse
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 DagDbTrustCheckResponse
Auto Trait Implementations§
impl Freeze for DagDbTrustCheckResponse
impl RefUnwindSafe for DagDbTrustCheckResponse
impl Send for DagDbTrustCheckResponse
impl Sync for DagDbTrustCheckResponse
impl Unpin for DagDbTrustCheckResponse
impl UnsafeUnpin for DagDbTrustCheckResponse
impl UnwindSafe for DagDbTrustCheckResponse
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