Structure

EmptyMetadata

struct EmptyMetadata

A convenience version of Metadata that’s just empty. This can be used, for example, when you don’t have custom item metadata.

Initializers

init()
init(from decoder: any Decoder) throws

Creates a new instance by decoding from the given decoder.

This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

  • Parameter decoder: The decoder to read data from.

Relationships

Conforms To

Metadata , Swift.Decodable