Struct octorust::types::StatusData
source · pub struct StatusData {
pub avatar_url: String,
pub context: String,
pub created_at: String,
pub creator: Option<SimpleUser>,
pub description: String,
pub id: i64,
pub node_id: String,
pub state: String,
pub target_url: String,
pub updated_at: String,
pub url: String,
}
Expand description
The status of a commit.
Fields§
§avatar_url: String
§context: String
§created_at: String
§creator: Option<SimpleUser>
Simple User
description: String
§id: i64
§node_id: String
§state: String
§target_url: String
§updated_at: String
§url: String
Trait Implementations§
source§impl Clone for StatusData
impl Clone for StatusData
source§fn clone(&self) -> StatusData
fn clone(&self) -> StatusData
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 StatusData
impl Debug for StatusData
source§impl<'de> Deserialize<'de> for StatusData
impl<'de> Deserialize<'de> for StatusData
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 JsonSchema for StatusData
impl JsonSchema for StatusData
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<StatusData> for StatusData
impl PartialEq<StatusData> for StatusData
source§fn eq(&self, other: &StatusData) -> bool
fn eq(&self, other: &StatusData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatusData
impl Serialize for StatusData
impl StructuralPartialEq for StatusData
Auto Trait Implementations§
impl RefUnwindSafe for StatusData
impl Send for StatusData
impl Sync for StatusData
impl Unpin for StatusData
impl UnwindSafe for StatusData
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