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