Hyper.Firecracker.Api.PartialDrive (Hyper v0.1.0)

Copy Markdown View Source

Provides struct and type for a PartialDrive

Summary

Functions

Build a Hyper.Firecracker.Api.PartialDrive from a decoded-JSON map. Compile-time generated.

Types

t()

@type t() :: %Hyper.Firecracker.Api.PartialDrive{
  __info__: any(),
  drive_id: String.t(),
  path_on_host: String.t() | nil,
  rate_limiter: Hyper.Firecracker.Api.RateLimiter.t() | nil
}

Functions

decode(data)

@spec decode(term()) :: t() | nil | term()

Build a Hyper.Firecracker.Api.PartialDrive from a decoded-JSON map. Compile-time generated.