Skip to content

Commit a29cc1a

Browse files
committed
Impl Debug and Clone for SampleFields
1 parent c4b2dd5 commit a29cc1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zenoh/src/api/sample.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ impl TryFrom<u64> for SampleKind {
300300
}
301301

302302
/// Structure with public fields for sample. It's convenient if it's necessary to decompose a sample into its fields.
303+
#[derive(Debug, Clone)]
303304
pub struct SampleFields {
304305
pub key_expr: KeyExpr<'static>,
305306
pub payload: ZBytes,

0 commit comments

Comments
 (0)