pub struct EdgeTypeUpdate {
pub add_source_types: Vec<String>,
pub add_target_types: Vec<String>,
pub add_properties: BTreeMap<String, PropertyDef>,
}Expand description
Monotonic update to an existing edge type.
Fields§
§add_source_types: Vec<String>Node types to add to source_types (widening only).
add_target_types: Vec<String>Node types to add to target_types (widening only).
add_properties: BTreeMap<String, PropertyDef>New optional properties on the edge type.
Trait Implementations§
Source§impl Clone for EdgeTypeUpdate
impl Clone for EdgeTypeUpdate
Source§fn clone(&self) -> EdgeTypeUpdate
fn clone(&self) -> EdgeTypeUpdate
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 EdgeTypeUpdate
impl Debug for EdgeTypeUpdate
Source§impl Default for EdgeTypeUpdate
impl Default for EdgeTypeUpdate
Source§fn default() -> EdgeTypeUpdate
fn default() -> EdgeTypeUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EdgeTypeUpdate
impl<'de> Deserialize<'de> for EdgeTypeUpdate
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 EdgeTypeUpdate
impl PartialEq for EdgeTypeUpdate
Source§impl Serialize for EdgeTypeUpdate
impl Serialize for EdgeTypeUpdate
impl StructuralPartialEq for EdgeTypeUpdate
Auto Trait Implementations§
impl Freeze for EdgeTypeUpdate
impl RefUnwindSafe for EdgeTypeUpdate
impl Send for EdgeTypeUpdate
impl Sync for EdgeTypeUpdate
impl Unpin for EdgeTypeUpdate
impl UnsafeUnpin for EdgeTypeUpdate
impl UnwindSafe for EdgeTypeUpdate
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