pub struct EventCommonFields {
pub version: usize,
pub event_type: EventType,
pub repository: Repository,
}
Expand description
Common fields in all variations of a Request
message.
Fields§
§version: usize
Version of the request message.
event_type: EventType
The type of the event.
repository: Repository
The repository the event is related to.
Trait Implementations§
Source§impl Clone for EventCommonFields
impl Clone for EventCommonFields
Source§fn clone(&self) -> EventCommonFields
fn clone(&self) -> EventCommonFields
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 EventCommonFields
impl Debug for EventCommonFields
Source§impl<'de> Deserialize<'de> for EventCommonFields
impl<'de> Deserialize<'de> for EventCommonFields
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
Auto Trait Implementations§
impl Freeze for EventCommonFields
impl RefUnwindSafe for EventCommonFields
impl Send for EventCommonFields
impl Sync for EventCommonFields
impl Unpin for EventCommonFields
impl UnwindSafe for EventCommonFields
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