Struct octorust::types::HookDeliveryItem
source · pub struct HookDeliveryItem {
pub action: String,
pub delivered_at: Option<DateTime<Utc>>,
pub duration: f64,
pub event: String,
pub guid: String,
pub id: i64,
pub installation_id: i64,
pub redelivery: bool,
pub repository_id: i64,
pub status: String,
pub status_code: i64,
}
Expand description
Delivery made by a webhook, without request and response information.
Fields§
§action: String
§delivered_at: Option<DateTime<Utc>>
§duration: f64
§event: String
§guid: String
§id: i64
§installation_id: i64
§redelivery: bool
§repository_id: i64
§status: String
§status_code: i64
Trait Implementations§
source§impl Clone for HookDeliveryItem
impl Clone for HookDeliveryItem
source§fn clone(&self) -> HookDeliveryItem
fn clone(&self) -> HookDeliveryItem
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 HookDeliveryItem
impl Debug for HookDeliveryItem
source§impl<'de> Deserialize<'de> for HookDeliveryItem
impl<'de> Deserialize<'de> for HookDeliveryItem
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 HookDeliveryItem
impl JsonSchema for HookDeliveryItem
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<HookDeliveryItem> for HookDeliveryItem
impl PartialEq<HookDeliveryItem> for HookDeliveryItem
source§fn eq(&self, other: &HookDeliveryItem) -> bool
fn eq(&self, other: &HookDeliveryItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HookDeliveryItem
impl Serialize for HookDeliveryItem
impl StructuralPartialEq for HookDeliveryItem
Auto Trait Implementations§
impl RefUnwindSafe for HookDeliveryItem
impl Send for HookDeliveryItem
impl Sync for HookDeliveryItem
impl Unpin for HookDeliveryItem
impl UnwindSafe for HookDeliveryItem
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