pub struct ArtifactInfo { /* private fields */ }Expand description
Bounded artifact metadata returned by one run.
Implementations§
Source§impl ArtifactInfo
impl ArtifactInfo
Sourcepub const fn id(&self) -> ArtifactId
pub const fn id(&self) -> ArtifactId
Stable artifact identifier.
Sourcepub const fn size_bytes(&self) -> u64
pub const fn size_bytes(&self) -> u64
Size reported by the GitHub API.
Sourcepub const fn is_expired(&self) -> bool
pub const fn is_expired(&self) -> bool
Whether GitHub has expired the artifact.
Trait Implementations§
Source§impl Clone for ArtifactInfo
impl Clone for ArtifactInfo
Source§impl Debug for ArtifactInfo
impl Debug for ArtifactInfo
impl Eq for ArtifactInfo
Source§impl PartialEq for ArtifactInfo
impl PartialEq for ArtifactInfo
impl StructuralPartialEq for ArtifactInfo
Auto Trait Implementations§
impl Freeze for ArtifactInfo
impl RefUnwindSafe for ArtifactInfo
impl Send for ArtifactInfo
impl Sync for ArtifactInfo
impl Unpin for ArtifactInfo
impl UnsafeUnpin for ArtifactInfo
impl UnwindSafe for ArtifactInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.