Files
swift-nio-imap/Sources/NIOIMAPCore/Grammar/Response/ResponseCodeCopy.swift
T
Daniel Eggert 30cdf896ff Create type for UID / UIDSet and use UIDs vs. Sequence Numbers (#166)
* Create type for UID / UIDSet and use UIDs vs. Sequence Numbers as appropriate.

* Remove commented out code.

* Linting.
2020-05-26 11:08:08 +01:00

27 lines
795 B
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2020 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
/// IMAPv4 `response-code-copy`
public struct ResponseCodeCopy: Equatable {
public var num: Int
public var set1: [UIDSet]
public var set2: [UIDSet]
public init(num: Int, set1: [UIDSet], set2: [UIDSet]) {
self.num = num
self.set1 = set1
self.set2 = set2
}
}