Structure
RedisID
A type-safe representation of a String representing individual identifiers of separate Redis connections and configurations.
struct RedisID
Overview
It is recommended to define static extensions for your definitions to make it easier at call sites to reference them.
For example:
extension RedisID { static let oceanic = RedisID("oceanic") }
app.redis(.oceanic) // Application.Redis instance
Topics
Operators
<(_:_:)Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
Initializers
init(_:)init(rawValue:)Creates a new instance with the specified raw value.init(stringLiteral:)Creates an instance initialized to the given string value.
Instance Properties
descriptionA textual representation of this instance.rawValueThe corresponding value of the raw type.
Type Properties
Relationships
Conforms To
Swift.ComparableSwift.CustomStringConvertibleSwift.DecodableSwift.EncodableSwift.EquatableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringInterpolationSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype