guilded_model 0.1.0-dev.24

Guilded API models for the Guilded-rs ecosystem of crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The TeamMemberRemoved event.

use serde::{Deserialize, Serialize};

use crate::id::{
    marker::{ServerMarker, UserMarker},
    Id,
};

#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct ServerMemberRemoved {
    pub is_ban: bool,
    pub is_kick: bool,
    pub server_id: Id<ServerMarker>,
    pub user_id: Id<UserMarker>,
}