Struct apache_age::Vertex
source · [−]pub struct Vertex<T> { /* private fields */ }Expand description
Represents vertex within graph. Used during process of vertex deserialization
Implementations
Trait Implementations
sourceimpl<'de, T> Deserialize<'de> for Vertex<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Vertex<T>where
T: Deserialize<'de>,
sourcefn 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
sourceimpl<'a, T> FromSql<'a> for Vertex<T>where
T: Deserialize<'a>,
impl<'a, T> FromSql<'a> for Vertex<T>where
T: Deserialize<'a>,
sourcefn from_sql(
ty: &Type,
raw: &'a [u8]
) -> Result<Vertex<T>, Box<dyn Error + Sync + Send>>
fn from_sql(
ty: &Type,
raw: &'a [u8]
) -> Result<Vertex<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 moresourcefn accepts(ty: &Type) -> bool
fn accepts(ty: &Type) -> bool
Determines if a value of this type can be created from the specified
Postgres
Type. Read moreAuto Trait Implementations
impl<T> RefUnwindSafe for Vertex<T>where
T: RefUnwindSafe,
impl<T> Send for Vertex<T>where
T: Send,
impl<T> Sync for Vertex<T>where
T: Sync,
impl<T> Unpin for Vertex<T>where
T: Unpin,
impl<T> UnwindSafe for Vertex<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more