pub struct GraphRelationModel {
pub rel_type: String,
pub direction: RelationDirection,
pub from_label: String,
pub to_label: String,
pub properties: Vec<GraphPropertyDef>,
}Expand description
图关系模型
Fields§
§rel_type: String§direction: RelationDirection§from_label: String§to_label: String§properties: Vec<GraphPropertyDef>Implementations§
Trait Implementations§
Source§impl Clone for GraphRelationModel
impl Clone for GraphRelationModel
Source§fn clone(&self) -> GraphRelationModel
fn clone(&self) -> GraphRelationModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphRelationModel
impl RefUnwindSafe for GraphRelationModel
impl Send for GraphRelationModel
impl Sync for GraphRelationModel
impl Unpin for GraphRelationModel
impl UnsafeUnpin for GraphRelationModel
impl UnwindSafe for GraphRelationModel
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