pub struct ToolSource { /* private fields */ }Expand description
Source checkout identity for the producing animsmith build.
Implementations§
Source§impl ToolSource
impl ToolSource
Sourcepub fn new(revision: Option<String>, dirty: Option<bool>) -> Self
pub fn new(revision: Option<String>, dirty: Option<bool>) -> Self
Construct source identity from a full Git revision and dirty bit.
Packaged or otherwise provenance-free builds use None for fields they
cannot establish rather than claiming a clean checkout. Revisions that
are not full 40-character hexadecimal Git object ids are dropped so an
envelope constructed through this API remains within output v6.
Trait Implementations§
Source§impl Clone for ToolSource
impl Clone for ToolSource
Source§fn clone(&self) -> ToolSource
fn clone(&self) -> ToolSource
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 ToolSource
impl Debug for ToolSource
impl Eq for ToolSource
Source§impl PartialEq for ToolSource
impl PartialEq for ToolSource
Source§impl Serialize for ToolSource
impl Serialize for ToolSource
impl StructuralPartialEq for ToolSource
Auto Trait Implementations§
impl Freeze for ToolSource
impl RefUnwindSafe for ToolSource
impl Send for ToolSource
impl Sync for ToolSource
impl Unpin for ToolSource
impl UnsafeUnpin for ToolSource
impl UnwindSafe for ToolSource
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