Clearable

public enum Clearable<Value> : Codable, Equatable where Value : Decodable, Value : Encodable, Value : Equatable

Wrapper for a property that can be cleared. Used in UpdateRequests.

  • The value to set

    Declaration

    Swift

    case value(Value)
  • Clear current value

    Declaration

    Swift

    case clear
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws