pub struct FeaturesReport {
pub unit: String,
pub current: Option<String>,
pub reason: String,
pub reason_text: String,
pub action: String,
pub features: Vec<FeatureEntry>,
}Expand description
Result of speccoder feature.
Fields§
§unit: Stringfeature or change.
current: Option<String>The current one’s name.
reason: StringHow it is current: argument, environment, recorded,
only_feature or none.
reason_text: StringThe same in words (recorded in .specify/feature.json).
action: StringWhat this call did: listed, switched or cleared.
features: Vec<FeatureEntry>Every feature, in order.
Trait Implementations§
Source§impl Clone for FeaturesReport
impl Clone for FeaturesReport
Source§impl Debug for FeaturesReport
impl Debug for FeaturesReport
impl Eq for FeaturesReport
Source§impl JsonSchema for FeaturesReport
impl JsonSchema for FeaturesReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FeaturesReport
impl PartialEq for FeaturesReport
Source§impl Serialize for FeaturesReport
impl Serialize for FeaturesReport
impl StructuralPartialEq for FeaturesReport
Auto Trait Implementations§
impl Freeze for FeaturesReport
impl RefUnwindSafe for FeaturesReport
impl Send for FeaturesReport
impl Sync for FeaturesReport
impl Unpin for FeaturesReport
impl UnsafeUnpin for FeaturesReport
impl UnwindSafe for FeaturesReport
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