pub struct KinshipEndorsement {
pub supporter_did: u64,
pub role_hash: u64,
pub weight: f32,
}Expand description
Endorsement from a kinship circle, elder, parent, or trusted decision-making advocate.
Fields§
§supporter_did: u64DID hash of the endorsing custodian / elder / supporter.
role_hash: u64Cultural or legal role (e.g. q_hash("role:elder"), q_hash("role:parent")).
weight: f32Verified confidence / weight of the endorsement in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for KinshipEndorsement
impl Clone for KinshipEndorsement
impl Copy for KinshipEndorsement
Source§impl Debug for KinshipEndorsement
impl Debug for KinshipEndorsement
Source§impl PartialEq for KinshipEndorsement
impl PartialEq for KinshipEndorsement
impl StructuralPartialEq for KinshipEndorsement
Auto Trait Implementations§
impl Freeze for KinshipEndorsement
impl RefUnwindSafe for KinshipEndorsement
impl Send for KinshipEndorsement
impl Sync for KinshipEndorsement
impl Unpin for KinshipEndorsement
impl UnsafeUnpin for KinshipEndorsement
impl UnwindSafe for KinshipEndorsement
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more