pub struct ModelRelation {
pub id: String,
pub kind: RelationKind,
pub from: String,
pub to: String,
}Fields§
§id: String§kind: RelationKind§from: String出る側の要素の key。
to: String受ける側の要素の key。
Trait Implementations§
Source§impl Clone for ModelRelation
impl Clone for ModelRelation
Source§impl Debug for ModelRelation
impl Debug for ModelRelation
Source§impl<'de> Deserialize<'de> for ModelRelation
impl<'de> Deserialize<'de> for ModelRelation
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
impl Eq for ModelRelation
Source§impl PartialEq for ModelRelation
impl PartialEq for ModelRelation
Source§impl Serialize for ModelRelation
impl Serialize for ModelRelation
impl StructuralPartialEq for ModelRelation
Auto Trait Implementations§
impl Forget for ModelRelation
impl Freeze for ModelRelation
impl Move for ModelRelation
impl RefUnwindSafe for ModelRelation
impl Send for ModelRelation
impl Sync for ModelRelation
impl Unpin for ModelRelation
impl UnsafeUnpin for ModelRelation
impl UnwindSafe for ModelRelation
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