pub struct OwnerKeyEnrolledPayload {
pub owner_key: String,
pub key_version: u32,
pub human_cut: Option<HumanCut>,
}Expand description
Payload of an EventKind::OwnerKeyEnrolled event (at-mention phase 2,
D-5/D-6). Owner state lives only in this signed record, never in the
manifest.
Fields§
§owner_key: StringThe human owner’s public key (multibase).
key_version: u32§human_cut: Option<HumanCut>None for a channel created with an owner, so nothing predates it.
Trait Implementations§
Source§impl Clone for OwnerKeyEnrolledPayload
impl Clone for OwnerKeyEnrolledPayload
Source§impl Debug for OwnerKeyEnrolledPayload
impl Debug for OwnerKeyEnrolledPayload
Source§impl<'de> Deserialize<'de> for OwnerKeyEnrolledPayload
impl<'de> Deserialize<'de> for OwnerKeyEnrolledPayload
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 OwnerKeyEnrolledPayload
Source§impl PartialEq for OwnerKeyEnrolledPayload
impl PartialEq for OwnerKeyEnrolledPayload
Source§impl Serialize for OwnerKeyEnrolledPayload
impl Serialize for OwnerKeyEnrolledPayload
impl StructuralPartialEq for OwnerKeyEnrolledPayload
Auto Trait Implementations§
impl Forget for OwnerKeyEnrolledPayload
impl Freeze for OwnerKeyEnrolledPayload
impl Move for OwnerKeyEnrolledPayload
impl RefUnwindSafe for OwnerKeyEnrolledPayload
impl Send for OwnerKeyEnrolledPayload
impl Sync for OwnerKeyEnrolledPayload
impl Unpin for OwnerKeyEnrolledPayload
impl UnsafeUnpin for OwnerKeyEnrolledPayload
impl UnwindSafe for OwnerKeyEnrolledPayload
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
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.