Struct ockam_entity::ProfileChangeEvent [−][src]
pub struct ProfileChangeEvent { /* fields omitted */ }
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
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
pub fn new(
identifier: EventIdentifier,
changes: ChangeSet,
proof: ProfileChangeProof
) -> Self
pub fn new(
identifier: EventIdentifier,
changes: ChangeSet,
proof: ProfileChangeProof
) -> 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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V