pub struct GollumEvent {
pub installation: Option<InstallationLite>,
pub organization: Option<Organization>,
pub pages: Vec<GollumEventPagesItem>,
pub repository: Repository,
pub sender: User,
}
Expand description
A wiki page is created or updated.
JSON schema
{
"title": "gollum event",
"description": "A wiki page is created or updated.",
"type": "object",
"required": [
"pages",
"repository",
"sender"
],
"properties": {
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"pages": {
"description": "The pages that were updated.",
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"html_url",
"page_name",
"sha",
"summary",
"title"
],
"properties": {
"action": {
"description": "The action that was performed on the page. Can be `created` or `edited`.",
"type": "string",
"enum": [
"created",
"edited"
]
},
"html_url": {
"description": "Points to the HTML wiki page.",
"type": "string",
"format": "uri"
},
"page_name": {
"description": "The name of the page.",
"type": "string"
},
"sha": {
"description": "The latest commit SHA of the page.",
"type": "string"
},
"summary": {
"type": "null"
},
"title": {
"description": "The current page title.",
"type": "string"
}
},
"additionalProperties": false
}
},
"repository": {
"$ref": "#/definitions/repository"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§installation: Option<InstallationLite>
§organization: Option<Organization>
§pages: Vec<GollumEventPagesItem>
The pages that were updated.
repository: Repository
§sender: User
Implementations§
Source§impl GollumEvent
impl GollumEvent
pub fn builder() -> GollumEvent
Trait Implementations§
Source§impl Clone for GollumEvent
impl Clone for GollumEvent
Source§fn clone(&self) -> GollumEvent
fn clone(&self) -> GollumEvent
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 GollumEvent
impl Debug for GollumEvent
Source§impl<'de> Deserialize<'de> for GollumEvent
impl<'de> Deserialize<'de> for GollumEvent
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<&GollumEvent> for GollumEvent
impl From<&GollumEvent> for GollumEvent
Source§fn from(value: &GollumEvent) -> Self
fn from(value: &GollumEvent) -> Self
Converts to this type from the input type.
Source§impl From<GollumEvent> for GollumEvent
impl From<GollumEvent> for GollumEvent
Source§fn from(value: GollumEvent) -> Self
fn from(value: GollumEvent) -> Self
Converts to this type from the input type.
Source§impl Serialize for GollumEvent
impl Serialize for GollumEvent
Source§impl TryFrom<GollumEvent> for GollumEvent
impl TryFrom<GollumEvent> for GollumEvent
Auto Trait Implementations§
impl Freeze for GollumEvent
impl RefUnwindSafe for GollumEvent
impl Send for GollumEvent
impl Sync for GollumEvent
impl Unpin for GollumEvent
impl UnwindSafe for GollumEvent
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