pub struct ConfigureView {
pub name: String,
pub def: ServiceDefView,
pub selected_choices: BTreeMap<String, String>,
pub enabled_groups: Vec<String>,
pub current_env: BTreeMap<String, String>,
}Expand description
The configure view for an installed service: its rendered schema plus the
selections and .env values currently on disk, so a form can pre-fill.
Fields§
§name: String§def: ServiceDefView§selected_choices: BTreeMap<String, String>Currently selected option per [[choice]] (choice -> option).
enabled_groups: Vec<String>Currently enabled optional groups.
current_env: BTreeMap<String, String>Current .env values, so prompted/required fields show what’s set.
Trait Implementations§
Source§impl Clone for ConfigureView
impl Clone for ConfigureView
Source§fn clone(&self) -> ConfigureView
fn clone(&self) -> ConfigureView
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 ConfigureView
impl Debug for ConfigureView
Source§impl<'de> Deserialize<'de> for ConfigureView
impl<'de> Deserialize<'de> for ConfigureView
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
Auto Trait Implementations§
impl Freeze for ConfigureView
impl RefUnwindSafe for ConfigureView
impl Send for ConfigureView
impl Sync for ConfigureView
impl Unpin for ConfigureView
impl UnsafeUnpin for ConfigureView
impl UnwindSafe for ConfigureView
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