MissingReference
public struct MissingReference<T> : Codable where T : Missable
A wrapper for missing reference object.
-
A decoded or missed value.
Declaration
Swift
public let value: T -
True if the value was missed.
Declaration
Swift
public let isMissed: Bool -
A decoding error instead of missing reference case.
Declaration
Swift
public let decodingError: Error? -
An enrichind activity error instead of object value.
Declaration
Swift
public let enrichingActivityError: EnrichingActivityError? -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
The default missed reference value.
Declaration
Swift
public static func missed() -> MissingReference<T>
View on GitHub
MissingReference Structure Reference