Struct ockam_entity::ProfileChangeEvent
source · [−]pub struct ProfileChangeEvent { /* private fields */ }
Expand description
crate::Profile
s are modified using change events mechanism. One event may have 1 or more ProfileChange
s
Proof is used to check whether this event comes from a party authorized to perform such updated
Individual changes may include additional proofs, if needed
Implementations
Unique EventIdentifier
Set of changes been applied
Proof is used to check whether this event comes from a party authorized to perform such update
pub fn new(
identifier: EventIdentifier,
change_block: ChangeBlock,
signatures: Vec<Signature>
) -> Self
pub fn new(
identifier: EventIdentifier,
change_block: ChangeBlock,
signatures: Vec<Signature>
) -> Self
Create a new profile change event
Trait Implementations
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 RefUnwindSafe for ProfileChangeEvent
impl Send for ProfileChangeEvent
impl Sync for ProfileChangeEvent
impl Unpin for ProfileChangeEvent
impl UnwindSafe for ProfileChangeEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more