pub struct ArtifactRun { /* private fields */ }Implementations§
Source§impl ArtifactRun
impl ArtifactRun
pub fn new( bytes: Vec<u8>, suggested_destination: Option<PathBuf>, receipt: ArtifactReceipt, report: Option<String>, ) -> Self
pub fn bytes(&self) -> &[u8] ⓘ
pub fn suggested_destination(&self) -> Option<&Path>
pub fn receipt(&self) -> &ArtifactReceipt
pub fn destination(&self) -> &ArtifactDestination
pub fn report(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for ArtifactRun
impl Clone for ArtifactRun
Source§fn clone(&self) -> ArtifactRun
fn clone(&self) -> ArtifactRun
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 ArtifactRun
impl RefUnwindSafe for ArtifactRun
impl Send for ArtifactRun
impl Sync for ArtifactRun
impl Unpin for ArtifactRun
impl UnsafeUnpin for ArtifactRun
impl UnwindSafe for ArtifactRun
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