summaryrefslogtreecommitdiffstats
path: root/src/packets/puback.rs
blob: cc001cf0db9a0c404eb01c41f21112e1bdc424f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
//   This Source Code Form is subject to the terms of the Mozilla Public
//   License, v. 2.0. If a copy of the MPL was not distributed with this
//   file, You can obtain one at http://mozilla.org/MPL/2.0/.
//

crate::properties::define_properties! {
    properties_type: mqtt_format::v5::packets::puback::PubackProperties,
    anker: "_Toc3901125",
    pub struct PubackProperties {
        (anker: "_Toc3901127")
        reason_string: ReasonString<'i> with setter = String,

        (anker: "_Toc3901128")
        user_properties: UserProperties<'i> with setter = crate::properties::UserProperty,
    }
}