pub struct SimpleRelationship { /* private fields */ }Expand description
A typed relation on a connection (Java SimpleRelationship).
Implementations§
Source§impl SimpleRelationship
impl SimpleRelationship
pub fn get_type(&self) -> &str
pub fn get_source_alias(&self) -> &str
pub fn get_target_alias(&self) -> &str
pub fn get_properties(&self) -> HashMap<String, Value>
pub fn get_property(&self, key: &str) -> Option<Value>
pub fn add_property(&self, key: &str, value: Value) -> Result<(), AppError>
Trait Implementations§
Source§impl Debug for SimpleRelationship
impl Debug for SimpleRelationship
Auto Trait Implementations§
impl !Freeze for SimpleRelationship
impl RefUnwindSafe for SimpleRelationship
impl Send for SimpleRelationship
impl Sync for SimpleRelationship
impl Unpin for SimpleRelationship
impl UnsafeUnpin for SimpleRelationship
impl UnwindSafe for SimpleRelationship
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