pub struct EnableResp {
pub account_token: Option<String>,
pub controller: Option<String>,
pub namespace: Option<String>,
pub url_template: Option<String>,
}Fields§
§account_token: Option<String>AccountToken is the org’s own tunnel-account credential. Treat it as a secret: it is what the CLI enables an environment with.
controller: Option<String>Controller is the public controller endpoint the CLI enables against.
namespace: Option<String>Namespace is the public frontend a share is published into, when the deployment names one.
url_template: Option<String>URLTemplate is the shape a share token expands to, so the CLI can print the resulting URL without asking again.
Implementations§
Source§impl EnableResp
impl EnableResp
pub fn new() -> EnableResp
Trait Implementations§
Source§impl Clone for EnableResp
impl Clone for EnableResp
Source§fn clone(&self) -> EnableResp
fn clone(&self) -> EnableResp
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 moreSource§impl Debug for EnableResp
impl Debug for EnableResp
Source§impl Default for EnableResp
impl Default for EnableResp
Source§fn default() -> EnableResp
fn default() -> EnableResp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnableResp
impl<'de> Deserialize<'de> for EnableResp
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
Source§impl PartialEq for EnableResp
impl PartialEq for EnableResp
Source§impl Serialize for EnableResp
impl Serialize for EnableResp
impl StructuralPartialEq for EnableResp
Auto Trait Implementations§
impl Freeze for EnableResp
impl RefUnwindSafe for EnableResp
impl Send for EnableResp
impl Sync for EnableResp
impl Unpin for EnableResp
impl UnsafeUnpin for EnableResp
impl UnwindSafe for EnableResp
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