pub struct ArtifactDeployment {
pub id: String,
pub status: String,
pub error: Option<String>,
pub url: Option<String>,
pub missing: Vec<String>,
pub upload_url_base: Option<String>,
pub file_count: Option<u64>,
pub total_bytes: Option<u64>,
pub commit_sha: Option<String>,
}Expand description
An artifact deployment as the API returns it. missing and
upload_url_base are only present on the create response.
Fields§
§id: String§status: String§error: Option<String>§url: Option<String>§missing: Vec<String>§upload_url_base: Option<String>§file_count: Option<u64>§total_bytes: Option<u64>§commit_sha: Option<String>Implementations§
Source§impl ArtifactDeployment
impl ArtifactDeployment
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
live, failed, expired and superseded end a deploy’s wait.
Trait Implementations§
Source§impl Clone for ArtifactDeployment
impl Clone for ArtifactDeployment
Source§impl Debug for ArtifactDeployment
impl Debug for ArtifactDeployment
Source§impl<'de> Deserialize<'de> for ArtifactDeployment
impl<'de> Deserialize<'de> for ArtifactDeployment
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
Auto Trait Implementations§
impl Forget for ArtifactDeployment
impl Freeze for ArtifactDeployment
impl Move for ArtifactDeployment
impl RefUnwindSafe for ArtifactDeployment
impl Send for ArtifactDeployment
impl Sync for ArtifactDeployment
impl Unpin for ArtifactDeployment
impl UnsafeUnpin for ArtifactDeployment
impl UnwindSafe for ArtifactDeployment
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