pub struct ProjectType {
pub identifier: String,
pub name: String,
pub description: Option<String>,
}Expand description
Project type (code) information.
Describes project types like “wiki” (Wikipedia) or “wiktionary”.
Fields§
§identifier: StringType identifier (e.g., “wiki”, “wiktionary”)
name: StringType name
description: Option<String>Type description
Trait Implementations§
Source§impl Clone for ProjectType
impl Clone for ProjectType
Source§fn clone(&self) -> ProjectType
fn clone(&self) -> ProjectType
Returns a duplicate of the value. Read more
1.0.0 · 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 ProjectType
impl Debug for ProjectType
Source§impl<'de> Deserialize<'de> for ProjectType
impl<'de> Deserialize<'de> for ProjectType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProjectType
impl PartialEq for ProjectType
Source§impl Serialize for ProjectType
impl Serialize for ProjectType
impl StructuralPartialEq for ProjectType
Auto Trait Implementations§
impl Freeze for ProjectType
impl RefUnwindSafe for ProjectType
impl Send for ProjectType
impl Sync for ProjectType
impl Unpin for ProjectType
impl UnsafeUnpin for ProjectType
impl UnwindSafe for ProjectType
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