pub enum UiGraphEdit {
Insert {
parent: String,
index: usize,
node: UiNode,
},
Remove {
id: String,
},
Replace {
id: String,
node: UiNode,
},
Move {
id: String,
parent: String,
index: usize,
},
SetProperty {
id: String,
property: String,
value: Value,
},
UnsetProperty {
id: String,
property: String,
},
}Variants§
Insert
Remove
Replace
Move
SetProperty
Set one serialized node property; a dotted path addresses nested objects such as
text.value.
UnsetProperty
Remove one serialized node property so its schema default applies.
Trait Implementations§
Source§impl Clone for UiGraphEdit
impl Clone for UiGraphEdit
Source§impl Debug for UiGraphEdit
impl Debug for UiGraphEdit
Source§impl<'de> Deserialize<'de> for UiGraphEdit
impl<'de> Deserialize<'de> for UiGraphEdit
Source§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
Source§impl PartialEq for UiGraphEdit
impl PartialEq for UiGraphEdit
Source§impl Serialize for UiGraphEdit
impl Serialize for UiGraphEdit
impl StructuralPartialEq for UiGraphEdit
Auto Trait Implementations§
impl Forget for UiGraphEdit
impl Freeze for UiGraphEdit
impl Move for UiGraphEdit
impl RefUnwindSafe for UiGraphEdit
impl Send for UiGraphEdit
impl Sync for UiGraphEdit
impl Unpin for UiGraphEdit
impl UnsafeUnpin for UiGraphEdit
impl UnwindSafe for UiGraphEdit
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