pub struct ConceptOptions {
pub type_: String,
pub title: Option<String>,
pub description: Option<String>,
pub status: Status,
pub author: Option<String>,
pub attested: bool,
pub tags: Vec<String>,
pub force: bool,
}Expand description
Options for creating a new concept document.
Fields§
§type_: StringConcept type (e.g. “Concept”, “Metric”, “Attested Computation”, “Playbook”).
title: Option<String>Concept title (default derived from file name).
description: Option<String>Concept description.
status: StatusLifecycle status.
Author attribution (e.g. “human:alice”).
attested: boolWhether this concept is an Attested Computation contract.
Optional tags.
force: boolWhether to overwrite existing file if it already exists.
Trait Implementations§
Source§impl Clone for ConceptOptions
impl Clone for ConceptOptions
Source§fn clone(&self) -> ConceptOptions
fn clone(&self) -> ConceptOptions
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 ConceptOptions
impl Debug for ConceptOptions
Source§impl Default for ConceptOptions
impl Default for ConceptOptions
impl Eq for ConceptOptions
Source§impl PartialEq for ConceptOptions
impl PartialEq for ConceptOptions
impl StructuralPartialEq for ConceptOptions
Auto Trait Implementations§
impl Freeze for ConceptOptions
impl RefUnwindSafe for ConceptOptions
impl Send for ConceptOptions
impl Sync for ConceptOptions
impl Unpin for ConceptOptions
impl UnsafeUnpin for ConceptOptions
impl UnwindSafe for ConceptOptions
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