pub struct ProjectDescription {
pub value: String,
pub language: Option<String>,
}Expand description
One language-tagged description value (dsp-cli vocabulary for the API’s
description: [{value, language}]). language is optional on the wire.
Fields§
§value: StringThe description text (may contain HTML markup as returned by the server).
language: Option<String>BCP-47 language tag, if the server provides one (e.g. "en").
Trait Implementations§
Source§impl Clone for ProjectDescription
impl Clone for ProjectDescription
Source§fn clone(&self) -> ProjectDescription
fn clone(&self) -> ProjectDescription
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 ProjectDescription
impl Debug for ProjectDescription
impl Eq for ProjectDescription
Source§impl PartialEq for ProjectDescription
impl PartialEq for ProjectDescription
impl StructuralPartialEq for ProjectDescription
Auto Trait Implementations§
impl Freeze for ProjectDescription
impl RefUnwindSafe for ProjectDescription
impl Send for ProjectDescription
impl Sync for ProjectDescription
impl Unpin for ProjectDescription
impl UnsafeUnpin for ProjectDescription
impl UnwindSafe for ProjectDescription
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.