pub struct DiscussionUnlabeled {
pub action: DiscussionUnlabeledAction,
pub discussion: Discussion,
pub installation: Option<InstallationLite>,
pub label: Label,
pub organization: Option<Organization>,
pub repository: Repository,
pub sender: User,
}
Expand description
DiscussionUnlabeled
JSON schema
{
"title": "discussion unlabeled event",
"type": "object",
"required": [
"action",
"discussion",
"label",
"repository",
"sender"
],
"properties": {
"action": {
"type": "string",
"enum": [
"unlabeled"
]
},
"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: DiscussionUnlabeledAction
§discussion: Discussion
§installation: Option<InstallationLite>
§label: Label
§organization: Option<Organization>
§repository: Repository
§sender: User
Implementations§
Source§impl DiscussionUnlabeled
impl DiscussionUnlabeled
pub fn builder() -> DiscussionUnlabeled
Trait Implementations§
Source§impl Clone for DiscussionUnlabeled
impl Clone for DiscussionUnlabeled
Source§fn clone(&self) -> DiscussionUnlabeled
fn clone(&self) -> DiscussionUnlabeled
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 DiscussionUnlabeled
impl Debug for DiscussionUnlabeled
Source§impl<'de> Deserialize<'de> for DiscussionUnlabeled
impl<'de> Deserialize<'de> for DiscussionUnlabeled
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<&DiscussionUnlabeled> for DiscussionUnlabeled
impl From<&DiscussionUnlabeled> for DiscussionUnlabeled
Source§fn from(value: &DiscussionUnlabeled) -> Self
fn from(value: &DiscussionUnlabeled) -> Self
Converts to this type from the input type.
Source§impl From<DiscussionUnlabeled> for DiscussionEvent
impl From<DiscussionUnlabeled> for DiscussionEvent
Source§fn from(value: DiscussionUnlabeled) -> Self
fn from(value: DiscussionUnlabeled) -> Self
Converts to this type from the input type.
Source§impl From<DiscussionUnlabeled> for DiscussionUnlabeled
impl From<DiscussionUnlabeled> for DiscussionUnlabeled
Source§fn from(value: DiscussionUnlabeled) -> Self
fn from(value: DiscussionUnlabeled) -> Self
Converts to this type from the input type.
Source§impl Serialize for DiscussionUnlabeled
impl Serialize for DiscussionUnlabeled
Auto Trait Implementations§
impl Freeze for DiscussionUnlabeled
impl RefUnwindSafe for DiscussionUnlabeled
impl Send for DiscussionUnlabeled
impl Sync for DiscussionUnlabeled
impl Unpin for DiscussionUnlabeled
impl UnwindSafe for DiscussionUnlabeled
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