pub struct WiredUnit {
pub name: String,
pub crate_name: String,
pub path: String,
pub commands: Vec<String>,
pub routes: Vec<String>,
pub switch: String,
pub unit: Option<String>,
pub shadow: Option<String>,
pub kept: Vec<String>,
}Fields§
§name: String§crate_name: String§path: String§commands: Vec<String>§routes: Vec<String>Servers: the routes the unit answers.
switch: String§unit: Option<String>Libraries: the unit id the crate ports.
shadow: Option<String>Libraries: the shadow drop-in the original package imports in place of the unit.
kept: Vec<String>Libraries: exports that stay in the original language.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WiredUnit
impl<'de> Deserialize<'de> for WiredUnit
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 Forget for WiredUnit
impl Freeze for WiredUnit
impl Move for WiredUnit
impl RefUnwindSafe for WiredUnit
impl Send for WiredUnit
impl Sync for WiredUnit
impl Unpin for WiredUnit
impl UnsafeUnpin for WiredUnit
impl UnwindSafe for WiredUnit
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