pub struct BinaryConfig {
common: CommonConfig,
env: BTreeMap<String, String>,
}
Expand description
Extra configuration for a RustBinary
target.
Fields§
§common: CommonConfig
§env: BTreeMap<String, String>
Additional environment variables that get set when invoked by bazel run
.
Implementations§
Trait Implementations§
Source§impl Debug for BinaryConfig
impl Debug for BinaryConfig
Source§impl Default for BinaryConfig
impl Default for BinaryConfig
Source§fn default() -> BinaryConfig
fn default() -> BinaryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BinaryConfig
impl<'de> Deserialize<'de> for BinaryConfig
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 BinaryConfig
impl RefUnwindSafe for BinaryConfig
impl Send for BinaryConfig
impl Sync for BinaryConfig
impl Unpin for BinaryConfig
impl UnwindSafe for BinaryConfig
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