@@ -41,10 +41,11 @@ public struct BITCOUNT: ValkeyCommand {
4141 }
4242 }
4343 public struct RangeEndUnitBlock : RESPRenderable , Sendable , Hashable {
44- @ usableFromInline let end : Int
45- @ usableFromInline let unit : RangeEndUnitBlockUnit ?
44+ public var end : Int
45+ public var unit : RangeEndUnitBlockUnit ?
4646
47- @inlinable public init ( end: Int , unit: RangeEndUnitBlockUnit ? = nil ) {
47+ @inlinable
48+ public init ( end: Int , unit: RangeEndUnitBlockUnit ? = nil ) {
4849 self . end = end
4950 self . unit = unit
5051 }
@@ -61,10 +62,11 @@ public struct BITCOUNT: ValkeyCommand {
6162 }
6263 }
6364 public struct Range : RESPRenderable , Sendable , Hashable {
64- @ usableFromInline let start : Int
65- @ usableFromInline let endUnitBlock : RangeEndUnitBlock ?
65+ public var start : Int
66+ public var endUnitBlock : RangeEndUnitBlock ?
6667
67- @inlinable public init ( start: Int , endUnitBlock: RangeEndUnitBlock ? = nil ) {
68+ @inlinable
69+ public init ( start: Int , endUnitBlock: RangeEndUnitBlock ? = nil ) {
6870 self . start = start
6971 self . endUnitBlock = endUnitBlock
7072 }
@@ -105,10 +107,11 @@ public struct BITCOUNT: ValkeyCommand {
105107@_documentation ( visibility: internal)
106108public struct BITFIELD : ValkeyCommand {
107109 public struct OperationGetBlock : RESPRenderable , Sendable , Hashable {
108- @ usableFromInline let encoding : String
109- @ usableFromInline let offset : Int
110+ public var encoding : String
111+ public var offset : Int
110112
111- @inlinable public init ( encoding: String , offset: Int ) {
113+ @inlinable
114+ public init ( encoding: String , offset: Int ) {
112115 self . encoding = encoding
113116 self . offset = offset
114117 }
@@ -142,11 +145,12 @@ public struct BITFIELD: ValkeyCommand {
142145 }
143146 }
144147 public struct OperationWriteWriteOperationSetBlock : RESPRenderable , Sendable , Hashable {
145- @ usableFromInline let encoding : String
146- @ usableFromInline let offset : Int
147- @ usableFromInline let value : Int
148+ public var encoding : String
149+ public var offset : Int
150+ public var value : Int
148151
149- @inlinable public init ( encoding: String , offset: Int , value: Int ) {
152+ @inlinable
153+ public init ( encoding: String , offset: Int , value: Int ) {
150154 self . encoding = encoding
151155 self . offset = offset
152156 self . value = value
@@ -165,11 +169,12 @@ public struct BITFIELD: ValkeyCommand {
165169 }
166170 }
167171 public struct OperationWriteWriteOperationIncrbyBlock : RESPRenderable , Sendable , Hashable {
168- @ usableFromInline let encoding : String
169- @ usableFromInline let offset : Int
170- @ usableFromInline let increment : Int
172+ public var encoding : String
173+ public var offset : Int
174+ public var increment : Int
171175
172- @inlinable public init ( encoding: String , offset: Int , increment: Int ) {
176+ @inlinable
177+ public init ( encoding: String , offset: Int , increment: Int ) {
173178 self . encoding = encoding
174179 self . offset = offset
175180 self . increment = increment
@@ -208,10 +213,11 @@ public struct BITFIELD: ValkeyCommand {
208213 }
209214 }
210215 public struct OperationWrite : RESPRenderable , Sendable , Hashable {
211- @ usableFromInline let overflowBlock : OperationWriteOverflowBlock ?
212- @ usableFromInline let writeOperation : OperationWriteWriteOperation
216+ public var overflowBlock : OperationWriteOverflowBlock ?
217+ public var writeOperation : OperationWriteWriteOperation
213218
214- @inlinable public init ( overflowBlock: OperationWriteOverflowBlock ? = nil , writeOperation: OperationWriteWriteOperation ) {
219+ @inlinable
220+ public init ( overflowBlock: OperationWriteOverflowBlock ? = nil , writeOperation: OperationWriteWriteOperation ) {
215221 self . overflowBlock = overflowBlock
216222 self . writeOperation = writeOperation
217223 }
@@ -270,10 +276,11 @@ public struct BITFIELD: ValkeyCommand {
270276@_documentation ( visibility: internal)
271277public struct BITFIELDRO : ValkeyCommand {
272278 public struct GetBlock : RESPRenderable , Sendable , Hashable {
273- @ usableFromInline let encoding : String
274- @ usableFromInline let offset : Int
279+ public var encoding : String
280+ public var offset : Int
275281
276- @inlinable public init ( encoding: String , offset: Int ) {
282+ @inlinable
283+ public init ( encoding: String , offset: Int ) {
277284 self . encoding = encoding
278285 self . offset = offset
279286 }
@@ -372,10 +379,11 @@ public struct BITPOS: ValkeyCommand {
372379 }
373380 }
374381 public struct RangeEndUnitBlock : RESPRenderable , Sendable , Hashable {
375- @ usableFromInline let end : Int
376- @ usableFromInline let unit : RangeEndUnitBlockUnit ?
382+ public var end : Int
383+ public var unit : RangeEndUnitBlockUnit ?
377384
378- @inlinable public init ( end: Int , unit: RangeEndUnitBlockUnit ? = nil ) {
385+ @inlinable
386+ public init ( end: Int , unit: RangeEndUnitBlockUnit ? = nil ) {
379387 self . end = end
380388 self . unit = unit
381389 }
@@ -392,10 +400,11 @@ public struct BITPOS: ValkeyCommand {
392400 }
393401 }
394402 public struct Range : RESPRenderable , Sendable , Hashable {
395- @ usableFromInline let start : Int
396- @ usableFromInline let endUnitBlock : RangeEndUnitBlock ?
403+ public var start : Int
404+ public var endUnitBlock : RangeEndUnitBlock ?
397405
398- @inlinable public init ( start: Int , endUnitBlock: RangeEndUnitBlock ? = nil ) {
406+ @inlinable
407+ public init ( start: Int , endUnitBlock: RangeEndUnitBlock ? = nil ) {
399408 self . start = start
400409 self . endUnitBlock = endUnitBlock
401410 }
0 commit comments