pub enum FlatpakBuildOptionsEnv {
Dict(BTreeMap<String, String>),
Array(Vec<String>),
}Expand description
This is a dictionary defining environment variables to be set during the build. Elements in this override the properties that set the environment, like cflags and ldflags. Keys with a null value unset the corresponding variable. FIXME the doc says this should be an object, but when defined in the modules, it is actually an array with values like PPC_CONFIG_PATH=/app/etc.
Variants§
Trait Implementations§
Source§impl Clone for FlatpakBuildOptionsEnv
impl Clone for FlatpakBuildOptionsEnv
Source§fn clone(&self) -> FlatpakBuildOptionsEnv
fn clone(&self) -> FlatpakBuildOptionsEnv
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 FlatpakBuildOptionsEnv
impl Debug for FlatpakBuildOptionsEnv
Source§impl Default for FlatpakBuildOptionsEnv
impl Default for FlatpakBuildOptionsEnv
Source§impl<'de> Deserialize<'de> for FlatpakBuildOptionsEnv
impl<'de> Deserialize<'de> for FlatpakBuildOptionsEnv
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 Hash for FlatpakBuildOptionsEnv
impl Hash for FlatpakBuildOptionsEnv
Auto Trait Implementations§
impl Freeze for FlatpakBuildOptionsEnv
impl RefUnwindSafe for FlatpakBuildOptionsEnv
impl Send for FlatpakBuildOptionsEnv
impl Sync for FlatpakBuildOptionsEnv
impl Unpin for FlatpakBuildOptionsEnv
impl UnwindSafe for FlatpakBuildOptionsEnv
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