pub struct PageBuildEvent {
pub build: PageBuildEventBuild,
pub id: i64,
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
Page Build
JSON schema
{
"title": "page_build event",
"description": "Page Build",
"type": "object",
"required": [
"build",
"id",
"repository",
"sender"
],
"properties": {
"build": {
"description": "The [List GitHub Pages builds](https://docs.github.com/en/rest/reference/repos#list-github-pages-builds) itself.",
"type": "object",
"required": [
"commit",
"created_at",
"duration",
"error",
"pusher",
"status",
"updated_at",
"url"
],
"properties": {
"commit": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"duration": {
"type": "integer"
},
"error": {
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"pusher": {
"$ref": "#/definitions/user"
},
"status": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
},
"id": {
"type": "integer"
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§build: PageBuildEventBuild
§id: i64
§installation: Option<InstallationLite>
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl PageBuildEvent
impl PageBuildEvent
pub fn builder() -> PageBuildEvent
Trait Implementations§
Source§impl Clone for PageBuildEvent
impl Clone for PageBuildEvent
Source§fn clone(&self) -> PageBuildEvent
fn clone(&self) -> PageBuildEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PageBuildEvent
impl Debug for PageBuildEvent
Source§impl<'de> Deserialize<'de> for PageBuildEvent
impl<'de> Deserialize<'de> for PageBuildEvent
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
Source§impl From<&PageBuildEvent> for PageBuildEvent
impl From<&PageBuildEvent> for PageBuildEvent
Source§fn from(value: &PageBuildEvent) -> Self
fn from(value: &PageBuildEvent) -> Self
Converts to this type from the input type.
Source§impl From<PageBuildEvent> for PageBuildEvent
impl From<PageBuildEvent> for PageBuildEvent
Source§fn from(value: PageBuildEvent) -> Self
fn from(value: PageBuildEvent) -> Self
Converts to this type from the input type.
Source§impl Serialize for PageBuildEvent
impl Serialize for PageBuildEvent
Source§impl TryFrom<PageBuildEvent> for PageBuildEvent
impl TryFrom<PageBuildEvent> for PageBuildEvent
Auto Trait Implementations§
impl Freeze for PageBuildEvent
impl RefUnwindSafe for PageBuildEvent
impl Send for PageBuildEvent
impl Sync for PageBuildEvent
impl Unpin for PageBuildEvent
impl UnwindSafe for PageBuildEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more