mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-28 05:14:27 +00:00
* Create type for UID / UIDSet and use UIDs vs. Sequence Numbers as appropriate. * Remove commented out code. * Linting.
25 lines
712 B
Swift
25 lines
712 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-apnd`
|
|
public struct ResponseCodeAppend: Equatable {
|
|
public var num: Int
|
|
public var uid: UID
|
|
|
|
public init(num: Int, uid: UID) {
|
|
self.num = num
|
|
self.uid = uid
|
|
}
|
|
}
|