pub struct MinimalCheckSuite { /* private fields */ }
Expand description
Minimal representation of a [CheckSuite
]
GitHub truncates data types in some API responses and webhook events to reduce the payload size.
The MinimalCheckSuite
represents a [CheckSuite
], but contains only the most basic fields.
Implementations§
Source§impl MinimalCheckSuite
impl MinimalCheckSuite
Sourcepub fn id(&self) -> CheckSuiteId
pub fn id(&self) -> CheckSuiteId
Returns the check suite’s id.
Trait Implementations§
Source§impl Clone for MinimalCheckSuite
impl Clone for MinimalCheckSuite
Source§fn clone(&self) -> MinimalCheckSuite
fn clone(&self) -> MinimalCheckSuite
Returns a duplicate 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 MinimalCheckSuite
impl Debug for MinimalCheckSuite
Source§impl<'de> Deserialize<'de> for MinimalCheckSuite
impl<'de> Deserialize<'de> for MinimalCheckSuite
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 Display for MinimalCheckSuite
impl Display for MinimalCheckSuite
Source§impl Hash for MinimalCheckSuite
impl Hash for MinimalCheckSuite
Source§impl Ord for MinimalCheckSuite
impl Ord for MinimalCheckSuite
Source§fn cmp(&self, other: &MinimalCheckSuite) -> Ordering
fn cmp(&self, other: &MinimalCheckSuite) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MinimalCheckSuite
impl PartialEq for MinimalCheckSuite
Source§impl PartialOrd for MinimalCheckSuite
impl PartialOrd for MinimalCheckSuite
Source§impl Serialize for MinimalCheckSuite
impl Serialize for MinimalCheckSuite
impl Eq for MinimalCheckSuite
impl StructuralPartialEq for MinimalCheckSuite
Auto Trait Implementations§
impl Freeze for MinimalCheckSuite
impl RefUnwindSafe for MinimalCheckSuite
impl Send for MinimalCheckSuite
impl Sync for MinimalCheckSuite
impl Unpin for MinimalCheckSuite
impl UnwindSafe for MinimalCheckSuite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.