Struct github_rest::model::event_types::RepoEventInfo
source · pub struct RepoEventInfo {
pub repository: Repository,
pub organization: Option<SimpleOrganization>,
pub installation: Option<Value>,
pub sender: SimpleUser,
}
Expand description
Used to represent the base fields provided by events originating from repositories.
Fields§
§repository: Repository
§organization: Option<SimpleOrganization>
§installation: Option<Value>
§sender: SimpleUser
Trait Implementations§
source§impl AsRef<RepoEventInfo> for BranchProtectionRuleEvent
impl AsRef<RepoEventInfo> for BranchProtectionRuleEvent
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 AsRef<RepoEventInfo> for CheckRunEvent
impl AsRef<RepoEventInfo> for CheckRunEvent
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 AsRef<RepoEventInfo> for CheckSuiteEvent
impl AsRef<RepoEventInfo> for CheckSuiteEvent
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 AsRef<RepoEventInfo> for CodeScanningAlertEvent
impl AsRef<RepoEventInfo> for CodeScanningAlertEvent
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 AsRef<RepoEventInfo> for CommitCommentEvent
impl AsRef<RepoEventInfo> for CommitCommentEvent
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 AsRef<RepoEventInfo> for CreateEvent
impl AsRef<RepoEventInfo> for CreateEvent
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 AsRef<RepoEventInfo> for DeleteEvent
impl AsRef<RepoEventInfo> for DeleteEvent
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 AsRef<RepoEventInfo> for DeployKeyEvent
impl AsRef<RepoEventInfo> for DeployKeyEvent
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 AsRef<RepoEventInfo> for DeploymentEvent
impl AsRef<RepoEventInfo> for DeploymentEvent
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 AsRef<RepoEventInfo> for DeploymentStatusEvent
impl AsRef<RepoEventInfo> for DeploymentStatusEvent
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 AsRef<RepoEventInfo> for DiscussionCommentEvent
impl AsRef<RepoEventInfo> for DiscussionCommentEvent
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 AsRef<RepoEventInfo> for DiscussionEvent
impl AsRef<RepoEventInfo> for DiscussionEvent
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 AsRef<RepoEventInfo> for ForkEvent
impl AsRef<RepoEventInfo> for ForkEvent
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 AsRef<RepoEventInfo> for IssueCommentEvent
impl AsRef<RepoEventInfo> for IssueCommentEvent
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 AsRef<RepoEventInfo> for IssueEvent
impl AsRef<RepoEventInfo> for IssueEvent
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 AsRef<RepoEventInfo> for LabelEvent
impl AsRef<RepoEventInfo> for LabelEvent
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 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 AsRef<RepoEventInfo> for MetaEvent
impl AsRef<RepoEventInfo> for MetaEvent
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 AsRef<RepoEventInfo> for MilestoneEvent
impl AsRef<RepoEventInfo> for MilestoneEvent
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 AsRef<RepoEventInfo> for PackageEvent
impl AsRef<RepoEventInfo> for PackageEvent
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 AsRef<RepoEventInfo> for PageBuildEvent
impl AsRef<RepoEventInfo> for PageBuildEvent
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 AsRef<RepoEventInfo> for PingEvent
impl AsRef<RepoEventInfo> for PingEvent
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 AsRef<RepoEventInfo> for ProjectCardEvent
impl AsRef<RepoEventInfo> for ProjectCardEvent
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 AsRef<RepoEventInfo> for ProjectColumnEvent
impl AsRef<RepoEventInfo> for ProjectColumnEvent
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 AsRef<RepoEventInfo> for ProjectEvent
impl AsRef<RepoEventInfo> for ProjectEvent
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 AsRef<RepoEventInfo> for PublicEvent
impl AsRef<RepoEventInfo> for PublicEvent
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 AsRef<RepoEventInfo> for PullRequestEvent
impl AsRef<RepoEventInfo> for PullRequestEvent
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 AsRef<RepoEventInfo> for PullRequestReviewCommentEvent
impl AsRef<RepoEventInfo> for PullRequestReviewCommentEvent
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 AsRef<RepoEventInfo> for PullRequestReviewEvent
impl AsRef<RepoEventInfo> for PullRequestReviewEvent
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 AsRef<RepoEventInfo> for PushEvent
impl AsRef<RepoEventInfo> for PushEvent
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 AsRef<RepoEventInfo> for ReleaseEvent
impl AsRef<RepoEventInfo> for ReleaseEvent
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 AsRef<RepoEventInfo> for RepositoryEvent
impl AsRef<RepoEventInfo> for RepositoryEvent
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 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 AsRef<RepoEventInfo> for RepositoryVulnerabilityAlertEvent
impl AsRef<RepoEventInfo> for RepositoryVulnerabilityAlertEvent
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 AsRef<RepoEventInfo> for SecretScanningAlertEvent
impl AsRef<RepoEventInfo> for SecretScanningAlertEvent
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 AsRef<RepoEventInfo> for StarEvent
impl AsRef<RepoEventInfo> for StarEvent
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 AsRef<RepoEventInfo> for StatusEvent
impl AsRef<RepoEventInfo> for StatusEvent
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 AsRef<RepoEventInfo> for TeamAddEvent
impl AsRef<RepoEventInfo> for TeamAddEvent
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 AsRef<RepoEventInfo> for WatchEvent
impl AsRef<RepoEventInfo> for WatchEvent
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 AsRef<RepoEventInfo> for WorkflowDispatchEvent
impl AsRef<RepoEventInfo> for WorkflowDispatchEvent
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 AsRef<RepoEventInfo> for WorkflowJobEvent
impl AsRef<RepoEventInfo> for WorkflowJobEvent
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 AsRef<RepoEventInfo> for WorkflowRunEvent
impl AsRef<RepoEventInfo> for WorkflowRunEvent
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 RepoEventInfo
impl Clone for RepoEventInfo
source§fn clone(&self) -> RepoEventInfo
fn clone(&self) -> RepoEventInfo
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 RepoEventInfo
impl Debug for RepoEventInfo
source§impl Default for RepoEventInfo
impl Default for RepoEventInfo
source§fn default() -> RepoEventInfo
fn default() -> RepoEventInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RepoEventInfo
impl<'de> Deserialize<'de> for RepoEventInfo
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<RepoEventInfo> for RepoEventInfo
impl PartialEq<RepoEventInfo> for RepoEventInfo
source§fn eq(&self, other: &RepoEventInfo) -> bool
fn eq(&self, other: &RepoEventInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RepoEventInfo
impl Serialize for RepoEventInfo
impl StructuralPartialEq for RepoEventInfo
Auto Trait Implementations§
impl RefUnwindSafe for RepoEventInfo
impl Send for RepoEventInfo
impl Sync for RepoEventInfo
impl Unpin for RepoEventInfo
impl UnwindSafe for RepoEventInfo
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