pub struct Node { /* private fields */ }
Implementations§
Source§impl Node
impl Node
pub fn new() -> Self
pub fn get_id(&self) -> Option<u64>
pub fn set_id(&mut self, id: Option<u64>)
pub fn get_var(&self) -> &Option<String>
pub fn set_var(&mut self, var: &str)
pub fn set_option_var(&mut self, var: &Option<String>)
pub fn get_properties_ref(&self) -> &Vec<Property>
pub fn get_properties_mut(&mut self) -> &mut Vec<Property>
pub fn set_properties(&mut self, properties: Vec<Property>)
pub fn get_labels_ref(&self) -> &Vec<String>
pub fn set_labels(&mut self, labels: Vec<String>)
pub fn get_labels_mut(&mut self) -> &mut Vec<String>
pub fn get_status(&self) -> &Status
pub fn set_status(&mut self, status: Status)
pub fn add_predicate(&mut self, predicate: NamedPropertyPredicate)
pub fn get_predicates_ref(&self) -> &Vec<NamedPropertyPredicate>
Trait Implementations§
Source§impl<'a> GrowableGraphContainerTrait<ProxyNodeId, ProxyRelationshipId, Node, Relationship> for GraphProxy<'a>
impl<'a> GrowableGraphContainerTrait<ProxyNodeId, ProxyRelationshipId, Node, Relationship> for GraphProxy<'a>
fn get_node_ref(&mut self, pid: &ProxyNodeId) -> Option<&Node>
fn get_relationship_ref( &mut self, id: &ProxyRelationshipId, ) -> Option<&Relationship>
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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