AccessModifier
A description of an access modifier.
enum AccessModifier
For example: public
.
A description of an access modifier.
enum AccessModifier
For example: public
.
import GRPCCodeGen
case `public`
A declaration accessible outside of the module.
case package
A declaration accessible outside of the module but only inside the containing package or project.
case `internal`
A declaration only accessible inside of the module.
case `fileprivate`
A declaration only accessible inside the same Swift file.
case `private`
A declaration only accessible inside the same type or scope.
protocol CaseIterable
A type that provides a collection of all of its values.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: String)
init(from decoder: any Decoder) throws
Creates a new instance by decoding from the given decoder, when the type’s RawValue
is String
.
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func encode(to encoder: any Encoder) throws
Encodes this value into the given encoder, when the type’s RawValue
is String
.
func hash(into hasher: inout Hasher)