pub struct ConnectedOntology {
pub name: String,
pub root: ContentAddress,
pub role: String,
}Expand description
One declared connection: a connected ontology, the root its lock pins, and
the role the grounding edges into it carry (the kind — denotes for the
lexical floor; carried here so the floor spends no per-edge kind tag).
Fields§
§name: StringThe connected ontology’s name (how a grounded edge addresses it).
root: ContentAddressThe content address the lock pins for that ontology — resolution refuses a supplied archive whose root disagrees.
role: StringThe grounding kind edges into this ontology assert (e.g. denotes).
Trait Implementations§
Source§impl Clone for ConnectedOntology
impl Clone for ConnectedOntology
Source§fn clone(&self) -> ConnectedOntology
fn clone(&self) -> ConnectedOntology
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 ConnectedOntology
impl Debug for ConnectedOntology
impl Eq for ConnectedOntology
Source§impl PartialEq for ConnectedOntology
impl PartialEq for ConnectedOntology
Source§fn eq(&self, other: &ConnectedOntology) -> bool
fn eq(&self, other: &ConnectedOntology) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectedOntology
Auto Trait Implementations§
impl Freeze for ConnectedOntology
impl RefUnwindSafe for ConnectedOntology
impl Send for ConnectedOntology
impl Sync for ConnectedOntology
impl Unpin for ConnectedOntology
impl UnsafeUnpin for ConnectedOntology
impl UnwindSafe for ConnectedOntology
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