pub enum LinkMutation {
Set {
target: String,
},
Clear {
target: String,
},
}Expand description
Link-specific config mutations. Separate type from ConfigMutation to enforce that only link operations use the lightweight (no-sync) mutation path.
Variants§
Set
Add a link target to settings.links (idempotent).
Clear
Remove a link target from settings.links.
Trait Implementations§
Source§impl Clone for LinkMutation
impl Clone for LinkMutation
Source§fn clone(&self) -> LinkMutation
fn clone(&self) -> LinkMutation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LinkMutation
impl RefUnwindSafe for LinkMutation
impl Send for LinkMutation
impl Sync for LinkMutation
impl Unpin for LinkMutation
impl UnsafeUnpin for LinkMutation
impl UnwindSafe for LinkMutation
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