pub struct ActionArtifact {
pub archive_download_url: Option<String>,
pub created_at: Option<OffsetDateTime>,
pub expired: Option<bool>,
pub expires_at: Option<OffsetDateTime>,
pub id: Option<i64>,
pub name: Option<String>,
pub run_id: Option<i64>,
pub size_in_bytes: Option<i64>,
pub updated_at: Option<OffsetDateTime>,
}Expand description
ActionArtifact represents an artifact of a workflow run
Fields§
§archive_download_url: Option<String>the URL to download the artifact zip archive
created_at: Option<OffsetDateTime>§expired: Option<bool>whether the artifact has expired
expires_at: Option<OffsetDateTime>§id: Option<i64>the artifact’s ID
name: Option<String>the artifact’s name
run_id: Option<i64>the ID of the workflow run that produced this artifact
size_in_bytes: Option<i64>the total size of the artifact in bytes
updated_at: Option<OffsetDateTime>Trait Implementations§
Source§impl Clone for ActionArtifact
impl Clone for ActionArtifact
Source§fn clone(&self) -> ActionArtifact
fn clone(&self) -> ActionArtifact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionArtifact
impl Debug for ActionArtifact
Source§impl<'de> Deserialize<'de> for ActionArtifact
impl<'de> Deserialize<'de> for ActionArtifact
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 FromResponse for ActionArtifact
impl FromResponse for ActionArtifact
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
Source§impl PartialEq for ActionArtifact
impl PartialEq for ActionArtifact
Source§fn eq(&self, other: &ActionArtifact) -> bool
fn eq(&self, other: &ActionArtifact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionArtifact
impl Serialize for ActionArtifact
impl StructuralPartialEq for ActionArtifact
Auto Trait Implementations§
impl Freeze for ActionArtifact
impl RefUnwindSafe for ActionArtifact
impl Send for ActionArtifact
impl Sync for ActionArtifact
impl Unpin for ActionArtifact
impl UnsafeUnpin for ActionArtifact
impl UnwindSafe for ActionArtifact
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