pulsar_admin_sdk/models/functions_worker_service.rs
1/*
2 * Pulsar Admin REST API
3 *
4 * This provides the REST API for admin operations
5 *
6 * The version of the OpenAPI document: v2
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct FunctionsWorkerService {
15 #[serde(rename = "listOfConnectors", skip_serializing_if = "Option::is_none")]
16 pub list_of_connectors: Option<Vec<models::ConnectorDefinition>>,
17}
18
19impl FunctionsWorkerService {
20 pub fn new() -> FunctionsWorkerService {
21 FunctionsWorkerService {
22 list_of_connectors: None,
23 }
24 }
25}
26