pub struct WireOptions<'a> {
pub repo: &'a Path,
pub unit: &'a str,
pub commands: &'a [String],
pub routes: &'a [String],
pub skip_gate: bool,
pub check: bool,
}Fields§
§repo: &'a Path§unit: &'a strUnit crate folder, its name under rust/, or the unit id it was bridged from.
commands: &'a [String]Commands the unit answers; kept from the last wire when empty.
routes: &'a [String]Servers: routes the unit answers (GET /users/{id}, /path for any method, * for
everything else); kept from the last wire when empty.
skip_gate: boolWire without running gate on the unit first (when it just passed).
check: boolAuto Trait Implementations§
impl<'a> Forget for WireOptions<'a>
impl<'a> Freeze for WireOptions<'a>
impl<'a> Move for WireOptions<'a>
impl<'a> RefUnwindSafe for WireOptions<'a>
impl<'a> Send for WireOptions<'a>
impl<'a> Sync for WireOptions<'a>
impl<'a> Unpin for WireOptions<'a>
impl<'a> UnsafeUnpin for WireOptions<'a>
impl<'a> UnwindSafe for WireOptions<'a>
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