pub struct ProjectDetail {
pub iri: String,
pub shortcode: String,
pub shortname: String,
pub longname: Option<String>,
pub status: ProjectStatus,
pub description: Vec<ProjectDescription>,
pub keywords: Vec<String>,
pub data_models: Vec<DataModelSummary>,
}Expand description
A project as shown by dsp vre project describe — the rich projection.
Contrast Project (the lean list index projection). Carries identity,
status, description, keywords, and a data-models summary (count + names).
No serde derive: wire deserialization stays in src/client/http.rs.
See ADR-0001 and ADR-0008.
Fields§
§iri: StringThe project’s IRI (e.g. http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF).
shortcode: StringFour-hex-digit shortcode (e.g. 0801).
shortname: StringHuman-readable shortname (e.g. beol).
longname: Option<String>Human-readable long name, if the server supplies one.
status: ProjectStatusWhether the project is currently active on the server.
description: Vec<ProjectDescription>Language-tagged description values (may contain HTML markup).
keywords: Vec<String>Free-form keywords associated with the project.
data_models: Vec<DataModelSummary>Lean references to the project’s child data-models, sorted by name.
Trait Implementations§
Source§impl Clone for ProjectDetail
impl Clone for ProjectDetail
Source§fn clone(&self) -> ProjectDetail
fn clone(&self) -> ProjectDetail
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 ProjectDetail
impl Debug for ProjectDetail
impl Eq for ProjectDetail
Source§impl PartialEq for ProjectDetail
impl PartialEq for ProjectDetail
impl StructuralPartialEq for ProjectDetail
Auto Trait Implementations§
impl Freeze for ProjectDetail
impl RefUnwindSafe for ProjectDetail
impl Send for ProjectDetail
impl Sync for ProjectDetail
impl Unpin for ProjectDetail
impl UnsafeUnpin for ProjectDetail
impl UnwindSafe for ProjectDetail
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.