Struct github_rest::model::commits::events::StatusEvent
source · pub struct StatusEvent {
pub id: usize,
pub sha: String,
pub description: Option<String>,
pub target_url: Option<String>,
pub commit: Commit,
pub state: StatusState,
pub branches: Vec<Branch>,
pub created_at: Value,
pub updated_at: Value,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§id: usize
§sha: String
§description: Option<String>
§target_url: Option<String>
§commit: Commit
§state: StatusState
§branches: Vec<Branch>
§created_at: Value
§updated_at: Value
§event_info: RepoEventInfo
Trait Implementations§
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 Clone for StatusEvent
impl Clone for StatusEvent
source§fn clone(&self) -> StatusEvent
fn clone(&self) -> StatusEvent
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 StatusEvent
impl Debug for StatusEvent
source§impl Deref for StatusEvent
impl Deref for StatusEvent
source§impl<'de> Deserialize<'de> for StatusEvent
impl<'de> Deserialize<'de> for StatusEvent
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 StatusEvent
impl Event<'_> for StatusEvent
source§impl PartialEq<StatusEvent> for StatusEvent
impl PartialEq<StatusEvent> for StatusEvent
source§fn eq(&self, other: &StatusEvent) -> bool
fn eq(&self, other: &StatusEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatusEvent
impl Serialize for StatusEvent
impl StructuralPartialEq for StatusEvent
Auto Trait Implementations§
impl RefUnwindSafe for StatusEvent
impl Send for StatusEvent
impl Sync for StatusEvent
impl Unpin for StatusEvent
impl UnwindSafe for StatusEvent
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