Struct github_rest::model::misc::events::SponsorshipEvent
source · pub struct SponsorshipEvent {
pub action: SponsorshipAction,
pub effective_date: String,
pub changes: SponsorshipChanges,
pub sender: SimpleUser,
}
Expand description
Fields§
§action: SponsorshipAction
§effective_date: String
§changes: SponsorshipChanges
§sender: SimpleUser
Trait Implementations§
source§impl Clone for SponsorshipEvent
impl Clone for SponsorshipEvent
source§fn clone(&self) -> SponsorshipEvent
fn clone(&self) -> SponsorshipEvent
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 SponsorshipEvent
impl Debug for SponsorshipEvent
source§impl<'de> Deserialize<'de> for SponsorshipEvent
impl<'de> Deserialize<'de> for SponsorshipEvent
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 SponsorshipEvent
impl Event<'_> for SponsorshipEvent
source§impl PartialEq<SponsorshipEvent> for SponsorshipEvent
impl PartialEq<SponsorshipEvent> for SponsorshipEvent
source§fn eq(&self, other: &SponsorshipEvent) -> bool
fn eq(&self, other: &SponsorshipEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SponsorshipEvent
impl Serialize for SponsorshipEvent
impl StructuralPartialEq for SponsorshipEvent
Auto Trait Implementations§
impl RefUnwindSafe for SponsorshipEvent
impl Send for SponsorshipEvent
impl Sync for SponsorshipEvent
impl Unpin for SponsorshipEvent
impl UnwindSafe for SponsorshipEvent
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