pub struct DataModelSummary {
pub name: String,
pub iri: String,
}Expand description
A lean reference to a child data-model, as surfaced by project describe.
Full data-model detail belongs to the future data-model list/describe
commands. name is derived from the data-model’s IRI by the HTTP client
layer at the ADR-0001 boundary — it is NOT a server-supplied field.
Fields§
§name: StringShort name of the data-model (e.g. beol), derived from the IRI.
iri: StringFull IRI of the data-model (e.g. http://api.dasch.swiss/ontology/0801/beol/v2).
Trait Implementations§
Source§impl Clone for DataModelSummary
impl Clone for DataModelSummary
Source§fn clone(&self) -> DataModelSummary
fn clone(&self) -> DataModelSummary
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 DataModelSummary
impl Debug for DataModelSummary
impl Eq for DataModelSummary
Source§impl PartialEq for DataModelSummary
impl PartialEq for DataModelSummary
impl StructuralPartialEq for DataModelSummary
Auto Trait Implementations§
impl Freeze for DataModelSummary
impl RefUnwindSafe for DataModelSummary
impl Send for DataModelSummary
impl Sync for DataModelSummary
impl Unpin for DataModelSummary
impl UnsafeUnpin for DataModelSummary
impl UnwindSafe for DataModelSummary
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
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.