csm-rs 0.83.1

A library for Shasta
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct Membership {
  pub id: String,
  #[serde(rename = "partitionName")]
  pub partition_name: String,
  #[serde(rename = "groupLabels")]
  pub group_labels: Vec<String>,
}