Struct github_rest::model::event_types::OrgEventInfo
source · pub struct OrgEventInfo {
pub organization: SimpleOrganization,
pub installation: Option<Value>,
pub sender: SimpleUser,
}
Expand description
Used to represent the base fields provided by events originating from organizations.
Fields§
§organization: SimpleOrganization
§installation: Option<Value>
§sender: SimpleUser
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 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 AsRef<OrgEventInfo> for OrganizationEvent
impl AsRef<OrgEventInfo> for OrganizationEvent
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 AsRef<OrgEventInfo> for TeamEvent
impl AsRef<OrgEventInfo> for TeamEvent
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 OrgEventInfo
impl Clone for OrgEventInfo
source§fn clone(&self) -> OrgEventInfo
fn clone(&self) -> OrgEventInfo
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 OrgEventInfo
impl Debug for OrgEventInfo
source§impl Default for OrgEventInfo
impl Default for OrgEventInfo
source§fn default() -> OrgEventInfo
fn default() -> OrgEventInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrgEventInfo
impl<'de> Deserialize<'de> for OrgEventInfo
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 PartialEq<OrgEventInfo> for OrgEventInfo
impl PartialEq<OrgEventInfo> for OrgEventInfo
source§fn eq(&self, other: &OrgEventInfo) -> bool
fn eq(&self, other: &OrgEventInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OrgEventInfo
impl Serialize for OrgEventInfo
impl StructuralPartialEq for OrgEventInfo
Auto Trait Implementations§
impl RefUnwindSafe for OrgEventInfo
impl Send for OrgEventInfo
impl Sync for OrgEventInfo
impl Unpin for OrgEventInfo
impl UnwindSafe for OrgEventInfo
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