-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Derive Deserialize for enums used in remote-api-plugin
- Loading branch information
1 parent
fb2d2bc
commit a92ddb1
Showing
6 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,13 @@ | |
// ZettaScale Zenoh Team, <[email protected]> | ||
// | ||
use alloc::{string::String, vec::Vec}; | ||
use serde::Deserialize; | ||
|
||
use crate::common::ZExtUnknown; | ||
|
||
/// The kind of consolidation to apply to a query. | ||
#[repr(u8)] | ||
#[derive(Debug, Default, Clone, PartialEq, Eq, Copy)] | ||
#[derive(Debug, Default, Clone, PartialEq, Eq, Deserialize)] | ||
pub enum ConsolidationMode { | ||
/// Apply automatic consolidation based on queryable's preferences | ||
#[default] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters