mattermost_rust_client/models/user_autocomplete_in_team.rs
1/*
2 * Mattermost API Reference
3 *
4 * There is also a work-in-progress [Postman API reference](https://documenter.getpostman.com/view/4508214/RW8FERUn).
5 *
6 * The version of the OpenAPI document: 4.0.0
7 * Contact: feedback@mattermost.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct UserAutocompleteInTeam {
16 /// A list of user objects in the team
17 #[serde(rename = "in_team", skip_serializing_if = "Option::is_none")]
18 pub in_team: Option<Vec<crate::models::User>>,
19}
20
21impl UserAutocompleteInTeam {
22 pub fn new() -> UserAutocompleteInTeam {
23 UserAutocompleteInTeam {
24 in_team: None,
25 }
26 }
27}
28
29