pub struct PortUrl {
pub port: u16,
pub url: String,
pub host: Option<String>,
pub token: Option<SecretRef>,
pub signed: bool,
pub expires_in_seconds: Option<u64>,
}Expand description
Public preview URL for a port exposed by a workspace backend.
Fields§
§port: u16§url: String§host: Option<String>§token: Option<SecretRef>Opaque credential reference; preview bearer values never enter the resource JSON or Debug output.
signed: bool§expires_in_seconds: Option<u64>Effective lifetime returned by a signed-preview provider.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortUrl
impl<'de> Deserialize<'de> for PortUrl
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
impl Eq for PortUrl
impl StructuralPartialEq for PortUrl
Auto Trait Implementations§
impl Freeze for PortUrl
impl RefUnwindSafe for PortUrl
impl Send for PortUrl
impl Sync for PortUrl
impl Unpin for PortUrl
impl UnsafeUnpin for PortUrl
impl UnwindSafe for PortUrl
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