pub enum HttpElement {
Node {
id: String,
labels: Vec<String>,
properties: Map<String, Value>,
},
Relation {
id: String,
labels: Vec<String>,
from: String,
to: String,
properties: Map<String, Value>,
},
}Expand description
Element that can be either a Node or Relation
Variants§
Trait Implementations§
Source§impl Clone for HttpElement
impl Clone for HttpElement
Source§fn clone(&self) -> HttpElement
fn clone(&self) -> HttpElement
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 HttpElement
impl Debug for HttpElement
Source§impl<'de> Deserialize<'de> for HttpElement
impl<'de> Deserialize<'de> for HttpElement
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 HttpElement
impl RefUnwindSafe for HttpElement
impl Send for HttpElement
impl Sync for HttpElement
impl Unpin for HttpElement
impl UnsafeUnpin for HttpElement
impl UnwindSafe for HttpElement
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