pub struct Edge<T> { /* private fields */ }Expand description
Represents edge within graph. Used during process of edge deserialization
Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Edge<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Edge<T>where
T: Deserialize<'de>,
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<'a, T> FromSql<'a> for Edge<T>where
T: Deserialize<'a>,
impl<'a, T> FromSql<'a> for Edge<T>where
T: Deserialize<'a>,
Source§fn from_sql(
ty: &Type,
raw: &'a [u8],
) -> Result<Edge<T>, Box<dyn Error + Sync + Send>>
fn from_sql( ty: &Type, raw: &'a [u8], ) -> Result<Edge<T>, Box<dyn Error + Sync + Send>>
Creates a new value of this type from a buffer of data of the specified
Postgres
Type in its binary format. Read moreSource§fn accepts(ty: &Type) -> bool
fn accepts(ty: &Type) -> bool
Determines if a value of this type can be created from the specified
Postgres
Type.Auto Trait Implementations§
impl<T> Freeze for Edge<T>where
T: Freeze,
impl<T> RefUnwindSafe for Edge<T>where
T: RefUnwindSafe,
impl<T> Send for Edge<T>where
T: Send,
impl<T> Sync for Edge<T>where
T: Sync,
impl<T> Unpin for Edge<T>where
T: Unpin,
impl<T> UnwindSafe for Edge<T>where
T: UnwindSafe,
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