RedisZScoreBound
public enum RedisZScoreBound
extension RedisZScoreBound: CustomStringConvertible
extension RedisZScoreBound: ExpressibleByFloatLiteral
extension RedisZScoreBound: ExpressibleByIntegerLiteral
Represents a range bound for use with the Redis SortedSet commands related to element scores.
This type conforms to ExpressibleByFloatLiteral
and ExpressibleByIntegerLiteral
, which will initialize to an .inclusive
bound.
For example:
let literalBound: RedisZScoreBound = 3 // .inclusive(3)
let otherLiteralBound: RedisZScoreBound = 3.0 // .inclusive(3)
let exclusiveBound = RedisZScoreBound.exclusive(4)
-
Undocumented
Declaration
Swift
case inclusive(Double)
-
Undocumented
Declaration
Swift
case exclusive(Double)
-
The underlying raw score value this bound represents.
Declaration
Swift
public var rawValue: Double { get }
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public typealias FloatLiteralType = Double
-
Declaration
Swift
public init(floatLiteral value: Double)
-
Declaration
Swift
public typealias IntegerLiteralType = Int64
-
Declaration
Swift
public init(integerLiteral value: Int64)