pub struct LineageLink {
pub from: String,
pub to: String,
pub signature: String,
pub issued_at: String,
}Expand description
A single link in the lineage chain.
Fields§
§from: StringDID of the parent (delegator).
to: StringDID of the child (delegatee).
signature: StringEd25519 signature by from over the delegation assertion.
issued_at: StringISO-8601 timestamp of the delegation.
Trait Implementations§
Source§impl Clone for LineageLink
impl Clone for LineageLink
Source§impl Debug for LineageLink
impl Debug for LineageLink
Source§impl<'de> Deserialize<'de> for LineageLink
impl<'de> Deserialize<'de> for LineageLink
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 LineageLink
impl RefUnwindSafe for LineageLink
impl Send for LineageLink
impl Sync for LineageLink
impl Unpin for LineageLink
impl UnsafeUnpin for LineageLink
impl UnwindSafe for LineageLink
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