aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/objects/bufferviewconfig.rs
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-07-27 01:51:14 +0200
committerMax Audron <audron@cocaine.farm>2025-07-27 01:51:14 +0200
commitd45e0a687ed5aa78f3e80bc5c335312bd81b2d4c (patch)
treec93c3cb6839b707202f678d25dab0752182948c4 /src/message/signalproxy/objects/bufferviewconfig.rs
parentfix sessioninit message wrongly using NetworkMap to convert a field (diff)
temporarly fix nested network repr parsing for variant types
Diffstat (limited to 'src/message/signalproxy/objects/bufferviewconfig.rs')
-rw-r--r--src/message/signalproxy/objects/bufferviewconfig.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/message/signalproxy/objects/bufferviewconfig.rs b/src/message/signalproxy/objects/bufferviewconfig.rs
index 8ca6b82..286e83a 100644
--- a/src/message/signalproxy/objects/bufferviewconfig.rs
+++ b/src/message/signalproxy/objects/bufferviewconfig.rs
@@ -11,15 +11,11 @@ use crate::primitive::{BufferId, NetworkId, VariantList};
#[derive(Debug, Default, Clone, PartialEq, NetworkList, NetworkMap)]
pub struct BufferViewConfig {
- #[network(rename = "BufferList", network = "map", variant = "VariantList")]
+ #[network(rename = "BufferList", network = "list", variant = "VariantList")]
pub buffers: Vec<BufferId>,
- #[network(rename = "RemovedBuffers", network = "map", variant = "VariantList")]
+ #[network(rename = "RemovedBuffers", network = "list", variant = "VariantList")]
pub removed_buffers: Vec<BufferId>,
- #[network(
- rename = "TemporarilyRemovedBuffers",
- network = "map",
- variant = "VariantList"
- )]
+ #[network(rename = "TemporarilyRemovedBuffers", network = "list", variant = "VariantList")]
pub temporarily_removed_buffers: Vec<BufferId>,
#[network(rename = "bufferViewId", default, skip)]