pub struct CelebrationSummary {
pub project_id: String,
pub worker: Option<String>,
pub duration_ms: u64,
pub crates_compiled: Option<u32>,
pub artifacts: Option<ArtifactSummary>,
pub cache_hit: Option<bool>,
pub target: Option<String>,
pub quiet: bool,
pub timestamp: DateTime<Utc>,
}Expand description
Summary information for a completed build.
Fields§
§project_id: String§worker: Option<String>§duration_ms: u64§crates_compiled: Option<u32>§artifacts: Option<ArtifactSummary>§cache_hit: Option<bool>§target: Option<String>§quiet: bool§timestamp: DateTime<Utc>Implementations§
Source§impl CelebrationSummary
impl CelebrationSummary
pub fn new(project_id: impl Into<String>, duration_ms: u64) -> Self
pub fn worker(self, worker: impl Into<String>) -> Self
pub fn crates_compiled(self, crates: Option<u32>) -> Self
pub fn artifacts(self, artifacts: Option<ArtifactSummary>) -> Self
pub fn cache_hit(self, cache_hit: Option<bool>) -> Self
pub fn target(self, target: Option<String>) -> Self
pub fn quiet(self, quiet: bool) -> Self
pub fn timestamp(self, timestamp: DateTime<Utc>) -> Self
Trait Implementations§
Source§impl Clone for CelebrationSummary
impl Clone for CelebrationSummary
Source§fn clone(&self) -> CelebrationSummary
fn clone(&self) -> CelebrationSummary
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 moreAuto Trait Implementations§
impl Freeze for CelebrationSummary
impl RefUnwindSafe for CelebrationSummary
impl Send for CelebrationSummary
impl Sync for CelebrationSummary
impl Unpin for CelebrationSummary
impl UnsafeUnpin for CelebrationSummary
impl UnwindSafe for CelebrationSummary
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