pub struct PartOf {
pub entity: Entity,
pub relation: Option<Relation>,
}Expand description
<partOf>.
Fields§
§entity: EntityThe entity at the other end of the relationship.
relation: Option<Relation>@relation; None means any of them.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PartOf
Auto Trait Implementations§
impl Freeze for PartOf
impl RefUnwindSafe for PartOf
impl Send for PartOf
impl Sync for PartOf
impl Unpin for PartOf
impl UnsafeUnpin for PartOf
impl UnwindSafe for PartOf
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