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