struct LastNetworkDownloadSpeedTestResults of the most recent network-download speed test.
-
The download speed in megabits per second of the most recent network speed test.
Declaration
Swift
let downloadSpeedMbps: Float32 -
The Unix Epoch timestamp of when the most recent network-download speed test was run.
Declaration
Swift
let unixTimestampSeconds: Int64 -
Whether the most recent network-download speed test succeeded or failed.
Declaration
Swift
let status: Google.NetworkControlTrait.SpeedTestStatus -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?