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