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