pub struct BinaryDef {
pub name: String,
pub tasks: Vec<String>,
pub external_connectors: Vec<ExternalConnectorDef>,
}Expand description
One [[binaries]] entry — a deployable binary crate.
Fields§
§name: StringDirectory name of the binary crate, e.g. "weather-sentinel-hub".
The codegen derives the crate path as ../{name}/.
tasks: Vec<String>Task names belonging to this binary (must match [[tasks]] entries).
external_connectors: Vec<ExternalConnectorDef>Runtime broker connections needed by this binary.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BinaryDef
impl<'de> Deserialize<'de> for BinaryDef
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 BinaryDef
impl RefUnwindSafe for BinaryDef
impl Send for BinaryDef
impl Sync for BinaryDef
impl Unpin for BinaryDef
impl UnsafeUnpin for BinaryDef
impl UnwindSafe for BinaryDef
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