SwiftstructCoreODI
struct CoreODI.ConsentState.Record
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 4
Header
struct CoreODI.ConsentState.Record { enum PermissionState { case notPermitted case permittedByCooldown case permittedByUser static func minPermissionLevel(_: CoreODI.ConsentState.Record.PermissionState, _: CoreODI.ConsentState.Record.PermissionState) -> CoreODI.ConsentState.Record.PermissionState } enum CodingKeys { case permitted case updatedAt } var permitted: Swift.Bool var updatedAt: Foundation.Date init(value: Swift.Bool, isNew: Swift.Bool) func isPermitted(orInCoolDownWindow: Swift.Double, isSandbox: Swift.Bool) -> CoreODI.ConsentState.Record.PermissionState }