pub enum ProfileMutation {
Create {
owner: UserId,
profile: AuthorizationProfile,
},
Replace {
profile_id: ProfileId,
actor: UserId,
profile: AuthorizationProfile,
},
Delete {
profile_id: ProfileId,
actor: UserId,
},
CreateNamed {
owner: UserId,
name: ProfileName,
profile: AuthorizationProfile,
},
Rename {
profile_id: ProfileId,
actor: UserId,
name: ProfileName,
},
}Variants§
Trait Implementations§
Source§impl Clone for ProfileMutation
impl Clone for ProfileMutation
Source§fn clone(&self) -> ProfileMutation
fn clone(&self) -> ProfileMutation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfileMutation
impl Debug for ProfileMutation
impl Eq for ProfileMutation
Source§impl PartialEq for ProfileMutation
impl PartialEq for ProfileMutation
impl StructuralPartialEq for ProfileMutation
Auto Trait Implementations§
impl Freeze for ProfileMutation
impl RefUnwindSafe for ProfileMutation
impl Send for ProfileMutation
impl Sync for ProfileMutation
impl Unpin for ProfileMutation
impl UnsafeUnpin for ProfileMutation
impl UnwindSafe for ProfileMutation
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