Struct octocrab::models::CombinedStatus
source · #[non_exhaustive]pub struct CombinedStatus {
pub state: StatusState,
pub sha: String,
pub total_count: i64,
pub statuses: Vec<Status>,
pub repository: Option<Repository>,
pub commit_url: Option<Url>,
pub url: Option<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.state: StatusState
§sha: String
§total_count: i64
§statuses: Vec<Status>
§repository: Option<Repository>
§commit_url: Option<Url>
§url: Option<Url>
Trait Implementations§
source§impl Clone for CombinedStatus
impl Clone for CombinedStatus
source§fn clone(&self) -> CombinedStatus
fn clone(&self) -> CombinedStatus
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 CombinedStatus
impl Debug for CombinedStatus
source§impl<'de> Deserialize<'de> for CombinedStatus
impl<'de> Deserialize<'de> for CombinedStatus
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 CombinedStatus
impl PartialEq for CombinedStatus
source§fn eq(&self, other: &CombinedStatus) -> bool
fn eq(&self, other: &CombinedStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CombinedStatus
impl Serialize for CombinedStatus
impl Eq for CombinedStatus
impl StructuralPartialEq for CombinedStatus
Auto Trait Implementations§
impl Freeze for CombinedStatus
impl RefUnwindSafe for CombinedStatus
impl Send for CombinedStatus
impl Sync for CombinedStatus
impl Unpin for CombinedStatus
impl UnwindSafe for CombinedStatus
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