Struct octocrab::models::webhook_events::payload::PushWebhookEventCommit
source · #[non_exhaustive]pub struct PushWebhookEventCommit {
pub added: Vec<String>,
pub author: GitUserTime,
pub committer: GitUserTime,
pub distinct: bool,
pub id: String,
pub message: String,
pub modified: Vec<String>,
pub removed: Vec<String>,
pub timestamp: DateTime<Utc>,
pub tree_id: String,
pub url: Url,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.added: Vec<String>
§committer: GitUserTime
§distinct: bool
§id: String
§message: String
§modified: Vec<String>
§removed: Vec<String>
§timestamp: DateTime<Utc>
§tree_id: String
§url: Url
Trait Implementations§
source§impl Clone for PushWebhookEventCommit
impl Clone for PushWebhookEventCommit
source§fn clone(&self) -> PushWebhookEventCommit
fn clone(&self) -> PushWebhookEventCommit
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 PushWebhookEventCommit
impl Debug for PushWebhookEventCommit
source§impl<'de> Deserialize<'de> for PushWebhookEventCommit
impl<'de> Deserialize<'de> for PushWebhookEventCommit
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 for PushWebhookEventCommit
impl PartialEq for PushWebhookEventCommit
source§fn eq(&self, other: &PushWebhookEventCommit) -> bool
fn eq(&self, other: &PushWebhookEventCommit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PushWebhookEventCommit
impl Serialize for PushWebhookEventCommit
impl StructuralPartialEq for PushWebhookEventCommit
Auto Trait Implementations§
impl Freeze for PushWebhookEventCommit
impl RefUnwindSafe for PushWebhookEventCommit
impl Send for PushWebhookEventCommit
impl Sync for PushWebhookEventCommit
impl Unpin for PushWebhookEventCommit
impl UnwindSafe for PushWebhookEventCommit
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