pub struct OrganizationRenamed {
pub action: OrganizationRenamedAction,
pub changes: OrganizationRenamedChanges,
pub installation: Option<InstallationLite>,
pub organization: Organization,
pub sender: User,
}
Expand description
OrganizationRenamed
JSON schema
{
"title": "organization renamed event",
"type": "object",
"required": [
"action",
"changes",
"organization",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"renamed"
]
},
"changes": {
"type": "object",
"required": [
"login"
],
"properties": {
"login": {
"type": "object",
"required": [
"from"
],
"properties": {
"from": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"installation": {
"$ref": "#/definitions/installation-lite"
},
"organization": {
"$ref": "#/definitions/organization"
},
"sender": {
"$ref": "#/definitions/user"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§action: OrganizationRenamedAction
§changes: OrganizationRenamedChanges
§installation: Option<InstallationLite>
§organization: Organization
§sender: User
Implementations§
Source§impl OrganizationRenamed
impl OrganizationRenamed
pub fn builder() -> OrganizationRenamed
Trait Implementations§
Source§impl Clone for OrganizationRenamed
impl Clone for OrganizationRenamed
Source§fn clone(&self) -> OrganizationRenamed
fn clone(&self) -> OrganizationRenamed
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 OrganizationRenamed
impl Debug for OrganizationRenamed
Source§impl<'de> Deserialize<'de> for OrganizationRenamed
impl<'de> Deserialize<'de> for OrganizationRenamed
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<&OrganizationRenamed> for OrganizationRenamed
impl From<&OrganizationRenamed> for OrganizationRenamed
Source§fn from(value: &OrganizationRenamed) -> Self
fn from(value: &OrganizationRenamed) -> Self
Converts to this type from the input type.
Source§impl From<OrganizationRenamed> for OrganizationEvent
impl From<OrganizationRenamed> for OrganizationEvent
Source§fn from(value: OrganizationRenamed) -> Self
fn from(value: OrganizationRenamed) -> Self
Converts to this type from the input type.
Source§impl From<OrganizationRenamed> for OrganizationRenamed
impl From<OrganizationRenamed> for OrganizationRenamed
Source§fn from(value: OrganizationRenamed) -> Self
fn from(value: OrganizationRenamed) -> Self
Converts to this type from the input type.
Source§impl Serialize for OrganizationRenamed
impl Serialize for OrganizationRenamed
Auto Trait Implementations§
impl Freeze for OrganizationRenamed
impl RefUnwindSafe for OrganizationRenamed
impl Send for OrganizationRenamed
impl Sync for OrganizationRenamed
impl Unpin for OrganizationRenamed
impl UnwindSafe for OrganizationRenamed
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