pub struct CatalogConfig {
pub services: BTreeMap<String, String>,
pub font_scale_option: String,
pub font_scales: Vec<String>,
pub keyboard_layout_options: Vec<String>,
pub keyboard_layouts: Vec<String>,
pub wifi_option: String,
pub wifi_networks: Vec<String>,
pub listen_addresses: BTreeMap<String, ListenAddress>,
pub gym_choices: BTreeMap<String, GymChoice>,
}Fields§
§services: BTreeMap<String, String>Service name → its enable option, e.g. "sshd" → "services.openssh.enable".
font_scale_option: String§font_scales: Vec<String>§keyboard_layout_options: Vec<String>§keyboard_layouts: Vec<String>§wifi_option: String§wifi_networks: Vec<String>§listen_addresses: BTreeMap<String, ListenAddress>§gym_choices: BTreeMap<String, GymChoice>Test-only entries for the gym (gym:<name>, e.g. gym:kernel-param):
set option to one of permitted, given as the argument arg. Ids
not starting with gym: are ignored.
Trait Implementations§
Source§impl Clone for CatalogConfig
impl Clone for CatalogConfig
Source§fn clone(&self) -> CatalogConfig
fn clone(&self) -> CatalogConfig
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 CatalogConfig
impl Debug for CatalogConfig
Source§impl Default for CatalogConfig
impl Default for CatalogConfig
Source§fn default() -> CatalogConfig
fn default() -> CatalogConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogConfigwhere
CatalogConfig: Default,
impl<'de> Deserialize<'de> for CatalogConfigwhere
CatalogConfig: Default,
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 CatalogConfig
impl PartialEq for CatalogConfig
Source§impl Serialize for CatalogConfig
impl Serialize for CatalogConfig
impl Eq for CatalogConfig
impl StructuralPartialEq for CatalogConfig
Auto Trait Implementations§
impl Freeze for CatalogConfig
impl RefUnwindSafe for CatalogConfig
impl Send for CatalogConfig
impl Sync for CatalogConfig
impl Unpin for CatalogConfig
impl UnsafeUnpin for CatalogConfig
impl UnwindSafe for CatalogConfig
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