pub struct CreateAuthTokenWire {
pub expiration_in_minutes: u32,
pub allowed_ports: Vec<PortSpecification>,
}Expand description
CreateMicrovmAuthTokenRequest’s body members. microvmIdentifier is a URI
parameter and so is not in the body.
Fields§
§expiration_in_minutes: u32Maximum 60 minutes, the service ceiling. TRAP-9 refreshes below it.
allowed_ports: Vec<PortSpecification>Trait Implementations§
Source§impl Clone for CreateAuthTokenWire
impl Clone for CreateAuthTokenWire
Source§impl Debug for CreateAuthTokenWire
impl Debug for CreateAuthTokenWire
Auto Trait Implementations§
impl Freeze for CreateAuthTokenWire
impl RefUnwindSafe for CreateAuthTokenWire
impl Send for CreateAuthTokenWire
impl Sync for CreateAuthTokenWire
impl Unpin for CreateAuthTokenWire
impl UnsafeUnpin for CreateAuthTokenWire
impl UnwindSafe for CreateAuthTokenWire
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