pub struct CreditInfo {
pub did: String,
pub credit_score: i32,
pub level: String,
pub verified: bool,
pub flagged: bool,
pub reported_1y: i64,
pub reported_total: i64,
pub referrals_1y: i64,
pub referrals_total: i64,
pub reports_submitted: i64,
pub registered_at: String,
}Expand description
Credit score information for an agent.
Fields§
§did: StringThe agent’s DID.
credit_score: i32Numeric credit score.
level: StringCredit level (e.g. "standard").
verified: boolWhether the agent is verified.
flagged: boolWhether the agent is flagged.
reported_1y: i64Number of currently active reports (12-month window).
reported_total: i64Total lifetime reports.
referrals_1y: i64Number of active verified referrals (12-month window).
referrals_total: i64Total lifetime referrals.
reports_submitted: i64§registered_at: StringRegistration timestamp (ISO 8601).
Trait Implementations§
Source§impl Clone for CreditInfo
impl Clone for CreditInfo
Source§fn clone(&self) -> CreditInfo
fn clone(&self) -> CreditInfo
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 CreditInfo
impl Debug for CreditInfo
Source§impl<'de> Deserialize<'de> for CreditInfo
impl<'de> Deserialize<'de> for CreditInfo
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 CreditInfo
impl RefUnwindSafe for CreditInfo
impl Send for CreditInfo
impl Sync for CreditInfo
impl Unpin for CreditInfo
impl UnsafeUnpin for CreditInfo
impl UnwindSafe for CreditInfo
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