pub struct Links {
pub field: FieldName,
pub reverse: Option<FieldName>,
pub role: bool,
pub count: usize,
pub entities: Vec<Linking>,
}Expand description
The entities that link to an entity through one field.
Fields§
§field: FieldNameThe field that links them.
reverse: Option<FieldName>The name that the field goes by from its other end, if its types give one, such as
std.author-of for std.author.
role: boolWhether the field is a role, so that the entities that link are relationships.
count: usizeHow many entities link through the field.
entities: Vec<Linking>The first of them by name, without regard to case, unnamed ones last, as many as were asked for.
Trait Implementations§
impl Eq for Links
impl StructuralPartialEq for Links
Auto Trait Implementations§
impl Forget for Links
impl Freeze for Links
impl Move for Links
impl RefUnwindSafe for Links
impl Send for Links
impl Sync for Links
impl Unpin for Links
impl UnsafeUnpin for Links
impl UnwindSafe for Links
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.