pub struct ProxyAddParams {
pub id: String,
pub name: String,
pub listen_port: u16,
pub target_host: String,
pub target_port: u16,
pub target_scheme: String,
}Expand description
Parameters for starting a reverse proxy via the network provider.
Fields§
§id: StringUnique identifier for this proxy.
name: StringHuman-readable name.
listen_port: u16Port on which the proxy listens on the tailnet (TLS).
target_host: StringTarget host to forward to (e.g., “localhost”).
target_port: u16Target port to forward to.
target_scheme: StringTarget scheme (“http” or “https”).
Trait Implementations§
Source§impl Clone for ProxyAddParams
impl Clone for ProxyAddParams
Source§fn clone(&self) -> ProxyAddParams
fn clone(&self) -> ProxyAddParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProxyAddParams
impl RefUnwindSafe for ProxyAddParams
impl Send for ProxyAddParams
impl Sync for ProxyAddParams
impl Unpin for ProxyAddParams
impl UnsafeUnpin for ProxyAddParams
impl UnwindSafe for ProxyAddParams
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