pub struct ExistingTunnel {
pub tunnel_name: Option<String>,
pub host_token: String,
pub tunnel_id: String,
pub cluster: String,
}
Expand description
Structure optionally passed into start_existing_tunnel
to forward an existing tunnel.
Fields§
§tunnel_name: Option<String>
Name you’d like to assign preexisting tunnel to use to connect to the VS Code Server
host_token: String
Token to authenticate and use preexisting tunnel
tunnel_id: String
Id of preexisting tunnel to use to connect to the VS Code Server
cluster: String
Cluster of preexisting tunnel to use to connect to the VS Code Server
Trait Implementations§
Source§impl Clone for ExistingTunnel
impl Clone for ExistingTunnel
Source§fn clone(&self) -> ExistingTunnel
fn clone(&self) -> ExistingTunnel
Returns a duplicate of the value. Read more
1.0.0 · 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 ExistingTunnel
impl RefUnwindSafe for ExistingTunnel
impl Send for ExistingTunnel
impl Sync for ExistingTunnel
impl Unpin for ExistingTunnel
impl UnwindSafe for ExistingTunnel
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