pub struct ExportsSettings {
pub exports: HashMap<String, ExportSettings>,
}Expand description
Settings for all exports
Fields§
§exports: HashMap<String, ExportSettings>Implementations§
Source§impl ExportsSettings
impl ExportsSettings
pub fn set_locations_export_auto(&mut self, enabled: bool)
pub fn do_auto_exports(&self, state: &MissionState<'_, '_>)
pub fn do_named_export( &self, requested_name: &str, state: &MissionState<'_, '_>, )
Sourcepub fn apply_config(&mut self, config: &Config)
pub fn apply_config(&mut self, config: &Config)
We apply different parts of the config, matching different generations of the config format:
- the
exports map(current) - the
export object(deprecated since 2.22.0) - the
export_locationsfield (deprecated since 2.9.0)
FIXME Should we prevent having two exporters with the same path ?
Trait Implementations§
Source§impl Clone for ExportsSettings
impl Clone for ExportsSettings
Source§fn clone(&self) -> ExportsSettings
fn clone(&self) -> ExportsSettings
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 ExportsSettings
impl Debug for ExportsSettings
Source§impl Default for ExportsSettings
impl Default for ExportsSettings
Source§fn default() -> ExportsSettings
fn default() -> ExportsSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportsSettings
impl RefUnwindSafe for ExportsSettings
impl Send for ExportsSettings
impl Sync for ExportsSettings
impl Unpin for ExportsSettings
impl UnwindSafe for ExportsSettings
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