pub struct ClassRelation {
pub s_class: String,
pub predicate: String,
pub o_class: String,
pub count: u64,
}Expand description
A class-to-class relation (the lateral, non-is-a connection): subjects of
s_class related by predicate to objects of o_class, with the instance
count. (literal) / (untyped) are the object-class sentinels.
Fields§
§s_class: String§predicate: String§o_class: String§count: u64Trait Implementations§
Source§impl Clone for ClassRelation
impl Clone for ClassRelation
Source§fn clone(&self) -> ClassRelation
fn clone(&self) -> ClassRelation
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 moreSource§impl Debug for ClassRelation
impl Debug for ClassRelation
impl Eq for ClassRelation
Source§impl PartialEq for ClassRelation
impl PartialEq for ClassRelation
impl StructuralPartialEq for ClassRelation
Auto Trait Implementations§
impl Freeze for ClassRelation
impl RefUnwindSafe for ClassRelation
impl Send for ClassRelation
impl Sync for ClassRelation
impl Unpin for ClassRelation
impl UnsafeUnpin for ClassRelation
impl UnwindSafe for ClassRelation
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