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