pub struct ServiceUpOpts {
pub ports: Option<Vec<PortForward>>,
pub random: Option<bool>,
}
Fields§
§ports: Option<Vec<PortForward>>
List of frontend/backend port mappings to forward. Frontend is the port accepting traffic on the host, backend is the service port.
random: Option<bool>
Bind each tunnel port to a random port on the host.
Trait Implementations§
Source§impl Debug for ServiceUpOpts
impl Debug for ServiceUpOpts
Source§impl PartialEq for ServiceUpOpts
impl PartialEq for ServiceUpOpts
impl StructuralPartialEq for ServiceUpOpts
Auto Trait Implementations§
impl Freeze for ServiceUpOpts
impl RefUnwindSafe for ServiceUpOpts
impl Send for ServiceUpOpts
impl Sync for ServiceUpOpts
impl Unpin for ServiceUpOpts
impl UnwindSafe for ServiceUpOpts
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