pub struct Webhook {
pub id: String,
pub webhook_type: i8,
pub guild_id: String,
pub channel_id: String,
pub name: Option<String>,
pub avatar: Option<String>,
pub token: String,
pub application_id: Option<String>,
}
Fields§
§id: String
§webhook_type: i8
§guild_id: String
§channel_id: String
§name: Option<String>
§avatar: Option<String>
§token: String
§application_id: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Webhook
impl<'de> Deserialize<'de> for Webhook
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more