pub struct SignedEvent {
pub event: ForgeEvent,
pub key_fingerprint: String,
pub signature: String,
pub attested: Option<Attested>,
}Expand description
A ForgeEvent with the signature that makes it evidence.
Fields§
§event: ForgeEventThe event the signature is over.
key_fingerprint: StringSHA256:… of the actor’s key — or, on an attested
event, of gunnar’s own forge-attestation key.
signature: StringThe sshsig, PEM-armoured.
attested: Option<Attested>Gunnar’s attestation (GHUNT-19), on an event a person made from a
session that stepped up, which holds no key of theirs to sign with:
gunnar verified that session’s fresh touch of the person’s own passkey and
signed the event with its own key, naming the actor. None on an event
the actor signed with their own key — byte for byte what it was before.
Trait Implementations§
Source§impl Clone for SignedEvent
impl Clone for SignedEvent
Source§impl Debug for SignedEvent
impl Debug for SignedEvent
Source§impl<'de> Deserialize<'de> for SignedEvent
impl<'de> Deserialize<'de> for SignedEvent
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 Eq for SignedEvent
Source§impl PartialEq for SignedEvent
impl PartialEq for SignedEvent
Source§impl Serialize for SignedEvent
impl Serialize for SignedEvent
impl StructuralPartialEq for SignedEvent
Auto Trait Implementations§
impl Freeze for SignedEvent
impl RefUnwindSafe for SignedEvent
impl Send for SignedEvent
impl Sync for SignedEvent
impl Unpin for SignedEvent
impl UnsafeUnpin for SignedEvent
impl UnwindSafe for SignedEvent
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.