Struct neo4rs::UnboundedRelation
source · pub struct UnboundedRelation { /* private fields */ }
Expand description
Relationship detail without start or end node information
Implementations§
source§impl UnboundedRelation
impl UnboundedRelation
pub fn new(inner: BoltUnboundedRelation) -> Self
pub fn id(&self) -> i64
pub fn typ(&self) -> &str
sourcepub fn get<'this, T>(&'this self, key: &str) -> Result<T, DeError>where
T: Deserialize<'this>,
pub fn get<'this, T>(&'this self, key: &str) -> Result<T, DeError>where
T: Deserialize<'this>,
Get an attribute of this relationship and deserialize it into custom type that implements serde::Deserialize
sourcepub fn to<'this, T>(&'this self) -> Result<T, DeError>where
T: Deserialize<'this>,
pub fn to<'this, T>(&'this self) -> Result<T, DeError>where
T: Deserialize<'this>,
Deserialize the relationship into custom type that implements serde::Deserialize
Trait Implementations§
source§impl Clone for UnboundedRelation
impl Clone for UnboundedRelation
source§fn clone(&self) -> UnboundedRelation
fn clone(&self) -> UnboundedRelation
Returns a copy of the value. Read more
1.0.0 · 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 UnboundedRelation
impl Debug for UnboundedRelation
source§impl<'de> Deserialize<'de> for UnboundedRelation
impl<'de> Deserialize<'de> for UnboundedRelation
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 UnboundedRelation
impl PartialEq for UnboundedRelation
source§fn eq(&self, other: &UnboundedRelation) -> bool
fn eq(&self, other: &UnboundedRelation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<BoltType> for UnboundedRelation
impl TryFrom<BoltType> for UnboundedRelation
impl StructuralPartialEq for UnboundedRelation
Auto Trait Implementations§
impl RefUnwindSafe for UnboundedRelation
impl Send for UnboundedRelation
impl Sync for UnboundedRelation
impl Unpin for UnboundedRelation
impl UnwindSafe for UnboundedRelation
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