pub enum ProjectSemantics {
Replace,
DeepMerge,
Coexist,
Unknown,
}Expand description
How a client combines a project entry with a same-named user entry.
Variants§
Replace
The higher layer replaces the whole entry.
DeepMerge
Fields of the higher layer merge over the lower one.
Coexist
Both entries load, each as a server of its own under the same name
(Cursor, gate V2 CUR-5): nothing shadows across the client’s own
layers, and Caps::precedence only orders how they are listed.
Unknown
Trait Implementations§
Source§impl Clone for ProjectSemantics
impl Clone for ProjectSemantics
impl Copy for ProjectSemantics
Source§impl Debug for ProjectSemantics
impl Debug for ProjectSemantics
impl Eq for ProjectSemantics
Source§impl PartialEq for ProjectSemantics
impl PartialEq for ProjectSemantics
impl StructuralPartialEq for ProjectSemantics
Auto Trait Implementations§
impl Forget for ProjectSemantics
impl Freeze for ProjectSemantics
impl Move for ProjectSemantics
impl RefUnwindSafe for ProjectSemantics
impl Send for ProjectSemantics
impl Sync for ProjectSemantics
impl Unpin for ProjectSemantics
impl UnsafeUnpin for ProjectSemantics
impl UnwindSafe for ProjectSemantics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.