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