Struct github_rest::model::misc::events::DeploymentEvent
source · pub struct DeploymentEvent {
pub action: DeploymentAction,
pub deployment: Deployment,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: DeploymentAction
§deployment: Deployment
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for DeploymentEvent
impl AsRef<RepoEventInfo> for DeploymentEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DeploymentEvent
impl Clone for DeploymentEvent
source§fn clone(&self) -> DeploymentEvent
fn clone(&self) -> DeploymentEvent
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 DeploymentEvent
impl Debug for DeploymentEvent
source§impl Deref for DeploymentEvent
impl Deref for DeploymentEvent
source§impl<'de> Deserialize<'de> for DeploymentEvent
impl<'de> Deserialize<'de> for DeploymentEvent
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 Event<'_> for DeploymentEvent
impl Event<'_> for DeploymentEvent
source§impl PartialEq<DeploymentEvent> for DeploymentEvent
impl PartialEq<DeploymentEvent> for DeploymentEvent
source§fn eq(&self, other: &DeploymentEvent) -> bool
fn eq(&self, other: &DeploymentEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeploymentEvent
impl Serialize for DeploymentEvent
impl StructuralPartialEq for DeploymentEvent
Auto Trait Implementations§
impl RefUnwindSafe for DeploymentEvent
impl Send for DeploymentEvent
impl Sync for DeploymentEvent
impl Unpin for DeploymentEvent
impl UnwindSafe for DeploymentEvent
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