SwiftstructTeaFoundation
struct TeaFoundation.Reference
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 9
- field
let container: TeaFoundation.ReferenceContainer - field
let type: TeaFoundation.ReferenceType - field
let value: A - init
init(value: A?, type: TeaFoundation.ReferenceType, identifier: String) -> TeaFoundation.Reference<A>? - init
init(value: A, type: TeaFoundation.ReferenceType, identifier: String) -> TeaFoundation.Reference<A> - init
init(value: A?, type: TeaFoundation.ReferenceType, keyPath: KeyPath<A, String>) -> TeaFoundation.Reference<A>? - init
init(value: A, type: TeaFoundation.ReferenceType, keyPath: KeyPath<A, String>) -> TeaFoundation.Reference<A> - init
TeaFoundation.Reference<A where A: Sequence>.init(value: A?, type: TeaFoundation.ReferenceType, elementKeyPath: KeyPath<A.Element, String>) -> TeaFoundation.Reference<A>? - init
TeaFoundation.Reference<A where A: Sequence>.init(value: A, type: TeaFoundation.ReferenceType, elementKeyPath: KeyPath<A.Element, String>) -> TeaFoundation.Reference<A>
Header
struct Reference<A> { let value: A let container: TeaFoundation.ReferenceContainer let type: TeaFoundation.ReferenceType init?(value: A?, type: TeaFoundation.ReferenceType, identifier: Swift.String) init(value: A, type: TeaFoundation.ReferenceType, identifier: Swift.String) init?(value: A?, type: TeaFoundation.ReferenceType, keyPath: Swift.KeyPath<A, Swift.String>) init(value: A, type: TeaFoundation.ReferenceType, keyPath: Swift.KeyPath<A, Swift.String>) }