Struct github_rest::model::repositories::events::RepositoryDispatchEvent
source · pub struct RepositoryDispatchEvent {
pub action: String,
pub event_info: Option<RepoEventInfo>,
pub payload: Value,
}
Expand description
Fields§
§action: String
§event_info: Option<RepoEventInfo>
§payload: Value
Trait Implementations§
source§impl Clone for RepositoryDispatchEvent
impl Clone for RepositoryDispatchEvent
source§fn clone(&self) -> RepositoryDispatchEvent
fn clone(&self) -> RepositoryDispatchEvent
Returns a copy 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 RepositoryDispatchEvent
impl Debug for RepositoryDispatchEvent
source§impl<'de> Deserialize<'de> for RepositoryDispatchEvent
impl<'de> Deserialize<'de> for RepositoryDispatchEvent
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 PartialEq<RepositoryDispatchEvent> for RepositoryDispatchEvent
impl PartialEq<RepositoryDispatchEvent> for RepositoryDispatchEvent
source§fn eq(&self, other: &RepositoryDispatchEvent) -> bool
fn eq(&self, other: &RepositoryDispatchEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RepositoryDispatchEvent
impl Serialize for RepositoryDispatchEvent
impl StructuralPartialEq for RepositoryDispatchEvent
Auto Trait Implementations§
impl RefUnwindSafe for RepositoryDispatchEvent
impl Send for RepositoryDispatchEvent
impl Sync for RepositoryDispatchEvent
impl Unpin for RepositoryDispatchEvent
impl UnwindSafe for RepositoryDispatchEvent
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