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