pub struct RelTypeInfo {
pub name: String,
pub id: u32,
}Expand description
One entry returned by GET /schema/rel_types.
Mirrors LabelInfo — same rationale, see issue #2.
Fields§
§name: StringRelationship type name as registered in the catalog.
id: u32Catalog id allocated to this relationship type.
Trait Implementations§
Source§impl Clone for RelTypeInfo
impl Clone for RelTypeInfo
Source§fn clone(&self) -> RelTypeInfo
fn clone(&self) -> RelTypeInfo
Returns a duplicate 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 RelTypeInfo
impl Debug for RelTypeInfo
Source§impl<'de> Deserialize<'de> for RelTypeInfo
impl<'de> Deserialize<'de> for RelTypeInfo
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
Auto Trait Implementations§
impl Freeze for RelTypeInfo
impl RefUnwindSafe for RelTypeInfo
impl Send for RelTypeInfo
impl Sync for RelTypeInfo
impl Unpin for RelTypeInfo
impl UnsafeUnpin for RelTypeInfo
impl UnwindSafe for RelTypeInfo
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