pub struct ChainLink {Show 14 fields
pub id: i64,
pub ts: String,
pub ip: String,
pub claimed_jurisdiction: String,
pub network_origin: String,
pub anonymized: bool,
pub method: String,
pub confidence: f64,
pub policy_action: String,
pub entry_hash: String,
pub prev_hash: String,
pub prev_id: i64,
pub entry_ok: bool,
pub link_ok: bool,
}Expand description
One attestation in the chain, with its verification state.
Fields§
§id: i64§ts: String§ip: String§claimed_jurisdiction: String§network_origin: String§anonymized: bool§method: String§confidence: f64§policy_action: String§entry_hash: String§prev_hash: String§prev_id: i64§entry_ok: bool§link_ok: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ChainLink
impl<'de> Deserialize<'de> for ChainLink
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 StructuralPartialEq for ChainLink
Auto Trait Implementations§
impl Freeze for ChainLink
impl RefUnwindSafe for ChainLink
impl Send for ChainLink
impl Sync for ChainLink
impl Unpin for ChainLink
impl UnsafeUnpin for ChainLink
impl UnwindSafe for ChainLink
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