octocrab 0.53.0

A modern, extensible GitHub API client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

use crate::models::Repository;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct ForkWebhookEventPayload {
    // TODO: Make sure that it's a crate::models::Repository
    pub forkee: Repository,
    pub enterprise: Option<serde_json::Value>,
}