pub struct ProjectRef {
pub iri: String,
pub shortcode: String,
pub shortname: String,
}Expand description
Minimal project reference. Phase 4 expands this into the full Project model.
Fields§
§iri: StringThe project’s IRI (e.g. http://rdfh.ch/projects/0001).
shortcode: StringFour-hex-digit shortcode (e.g. 0001).
shortname: StringHuman-readable shortname (e.g. anything).
Trait Implementations§
Source§impl Clone for ProjectRef
impl Clone for ProjectRef
Source§fn clone(&self) -> ProjectRef
fn clone(&self) -> ProjectRef
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 ProjectRef
impl Debug for ProjectRef
impl Eq for ProjectRef
Source§impl PartialEq for ProjectRef
impl PartialEq for ProjectRef
impl StructuralPartialEq for ProjectRef
Auto Trait Implementations§
impl Freeze for ProjectRef
impl RefUnwindSafe for ProjectRef
impl Send for ProjectRef
impl Sync for ProjectRef
impl Unpin for ProjectRef
impl UnsafeUnpin for ProjectRef
impl UnwindSafe for ProjectRef
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.