pub struct CheckModel {Show 16 fields
pub commit_sha: String,
pub created: i64,
pub created_by: i64,
pub ended: i64,
pub id: i64,
pub link: String,
pub metadata: Option<Value>,
pub name: String,
pub payload: Box<CheckPayload>,
pub payload_kind: CheckPayloadKind,
pub payload_version: String,
pub repo_id: i64,
pub started: i64,
pub status: CheckStatus,
pub summary: String,
pub updated: i64,
}Fields§
§commit_sha: String§created: i64§created_by: i64§ended: i64§id: i64§link: String§metadata: Option<Value>§name: String§payload: Box<CheckPayload>§payload_kind: CheckPayloadKind§payload_version: String§repo_id: i64§started: i64§status: CheckStatus§summary: String§updated: i64Implementations§
Source§impl CheckModel
impl CheckModel
pub fn new( commit_sha: String, created: i64, created_by: i64, ended: i64, id: i64, link: String, metadata: Option<Value>, name: String, payload: CheckPayload, payload_kind: CheckPayloadKind, payload_version: String, repo_id: i64, started: i64, status: CheckStatus, summary: String, updated: i64, ) -> CheckModel
Trait Implementations§
Source§impl Clone for CheckModel
impl Clone for CheckModel
Source§fn clone(&self) -> CheckModel
fn clone(&self) -> CheckModel
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 CheckModel
impl Debug for CheckModel
Source§impl Default for CheckModel
impl Default for CheckModel
Source§fn default() -> CheckModel
fn default() -> CheckModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckModel
impl<'de> Deserialize<'de> for CheckModel
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 CheckModel
impl PartialEq for CheckModel
Source§impl Serialize for CheckModel
impl Serialize for CheckModel
impl StructuralPartialEq for CheckModel
Auto Trait Implementations§
impl Freeze for CheckModel
impl RefUnwindSafe for CheckModel
impl Send for CheckModel
impl Sync for CheckModel
impl Unpin for CheckModel
impl UnwindSafe for CheckModel
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