Skip to content

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

Instance Properties

  • description
    A textual representation of this instance.
  • rawValue
    The corresponding value of the raw type.

Type Properties

Relationships

Conforms To

  • Swift.Comparable
  • Swift.CustomStringConvertible
  • Swift.Decodable
  • Swift.Encodable
  • Swift.Equatable
  • Swift.ExpressibleByExtendedGraphemeClusterLiteral
  • Swift.ExpressibleByStringInterpolation
  • Swift.ExpressibleByStringLiteral
  • Swift.ExpressibleByUnicodeScalarLiteral
  • Swift.Hashable
  • Swift.RawRepresentable
  • Swift.Sendable
  • Swift.SendableMetatype