pub struct CreateShellAuthTokenWire {
pub expiration_in_minutes: u32,
}Expand description
CreateMicrovmShellAuthTokenRequest’s body members. microvmIdentifier is a URI
parameter and so is not in the body.
§There is no allowedPorts here, and its absence is the model’s
The request declares exactly two members and one of them is in the URI. The shell is
not a port: the token it mints opens the endpoint’s single PTY session, not a route to
a listener, which is why nothing in this shape can name a port (docs/PLATFORM.md,
measured 2026-08-15).
Fields§
§expiration_in_minutes: u32Maximum 60 minutes, the same service ceiling the ordinary proxy token has — the two JWEs carry the identical protected header and differ only by payload.
Trait Implementations§
Source§impl Clone for CreateShellAuthTokenWire
impl Clone for CreateShellAuthTokenWire
Source§fn clone(&self) -> CreateShellAuthTokenWire
fn clone(&self) -> CreateShellAuthTokenWire
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 CreateShellAuthTokenWire
impl Debug for CreateShellAuthTokenWire
Source§impl Serialize for CreateShellAuthTokenWire
impl Serialize for CreateShellAuthTokenWire
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CreateShellAuthTokenWire
impl RefUnwindSafe for CreateShellAuthTokenWire
impl Send for CreateShellAuthTokenWire
impl Sync for CreateShellAuthTokenWire
impl Unpin for CreateShellAuthTokenWire
impl UnsafeUnpin for CreateShellAuthTokenWire
impl UnwindSafe for CreateShellAuthTokenWire
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.