/src/swift-protobuf/Sources/SwiftProtobuf/TextFormatEncodingOptions.swift
Line | Count | Source (jump to first uncovered line) |
1 | | // Sources/SwiftProtobuf/TextFormatEncodingOptions.swift - Text format encoding options |
2 | | // |
3 | | // Copyright (c) 2014 - 2019 Apple Inc. and the project authors |
4 | | // Licensed under Apache License v2.0 with Runtime Library Exception |
5 | | // |
6 | | // See LICENSE.txt for license information: |
7 | | // https://github.com/apple/swift-protobuf/blob/main/LICENSE.txt |
8 | | // |
9 | | // ----------------------------------------------------------------------------- |
10 | | /// |
11 | | /// Text format encoding options |
12 | | /// |
13 | | // ----------------------------------------------------------------------------- |
14 | | |
15 | | /// Options for TextFormatEncoding. |
16 | | public struct TextFormatEncodingOptions { |
17 | | |
18 | | /// Default: Do print unknown fields using numeric notation |
19 | | public var printUnknownFields: Bool = true |
20 | | |
21 | 0 | public init() {} |
22 | | } |