pub struct PropertyGraphSchema {
pub name: Vec<String>,
pub vertex_labels: BTreeMap<String, PropertyGraphElementSchema>,
pub edge_labels: BTreeMap<String, PropertyGraphElementSchema>,
}Fields§
§name: Vec<String>§vertex_labels: BTreeMap<String, PropertyGraphElementSchema>§edge_labels: BTreeMap<String, PropertyGraphElementSchema>Implementations§
Source§impl PropertyGraphSchema
impl PropertyGraphSchema
pub fn new(name: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn add_vertex_label( &mut self, name: impl Into<String>, schema: PropertyGraphElementSchema, )
pub fn add_edge_label( &mut self, name: impl Into<String>, schema: PropertyGraphElementSchema, )
Trait Implementations§
Source§impl Clone for PropertyGraphSchema
impl Clone for PropertyGraphSchema
Source§impl Debug for PropertyGraphSchema
impl Debug for PropertyGraphSchema
impl Eq for PropertyGraphSchema
Source§impl PartialEq for PropertyGraphSchema
impl PartialEq for PropertyGraphSchema
impl StructuralPartialEq for PropertyGraphSchema
Auto Trait Implementations§
impl Freeze for PropertyGraphSchema
impl RefUnwindSafe for PropertyGraphSchema
impl Send for PropertyGraphSchema
impl Sync for PropertyGraphSchema
impl Unpin for PropertyGraphSchema
impl UnsafeUnpin for PropertyGraphSchema
impl UnwindSafe for PropertyGraphSchema
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