pub struct ProjectFeature {
pub project_id: Option<i64>,
pub state: Option<State>,
pub toggle_locked: Option<bool>,
pub feature: Option<String>,
pub feature_category: Option<String>,
pub prerequisites: Option<Vec<String>>,
pub localised_name: Option<String>,
pub localised_description: Option<String>,
pub image_uri: Option<String>,
}
Expand description
ProjectFeature : Project feature.
Fields§
§project_id: Option<i64>
Project ID.
state: Option<State>
State of the feature.
toggle_locked: Option<bool>
Determines whether a feature can be toggled or not.
feature: Option<String>
Feature’s key.
feature_category: Option<String>
Feature’s category.
prerequisites: Option<Vec<String>>
List of the keys of features required as prerequisites to enable this feature.
localised_name: Option<String>
Name to display for this feature, localised.
localised_description: Option<String>
Description to display for this feature, localised.
image_uri: Option<String>
Uri to the image that should be used to display this feature.
Implementations§
Source§impl ProjectFeature
impl ProjectFeature
Sourcepub fn new() -> ProjectFeature
pub fn new() -> ProjectFeature
Project feature.
Trait Implementations§
Source§impl Clone for ProjectFeature
impl Clone for ProjectFeature
Source§fn clone(&self) -> ProjectFeature
fn clone(&self) -> ProjectFeature
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 ProjectFeature
impl Debug for ProjectFeature
Source§impl Default for ProjectFeature
impl Default for ProjectFeature
Source§fn default() -> ProjectFeature
fn default() -> ProjectFeature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectFeature
impl<'de> Deserialize<'de> for ProjectFeature
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 ProjectFeature
impl PartialEq for ProjectFeature
Source§impl Serialize for ProjectFeature
impl Serialize for ProjectFeature
impl StructuralPartialEq for ProjectFeature
Auto Trait Implementations§
impl Freeze for ProjectFeature
impl RefUnwindSafe for ProjectFeature
impl Send for ProjectFeature
impl Sync for ProjectFeature
impl Unpin for ProjectFeature
impl UnwindSafe for ProjectFeature
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