pub struct ArtifactState {
pub path: String,
pub hash: String,
}Expand description
The prior known state of one external sidecar artifact for a clip.
Records where the sidecar lives and a hash of the content or source it was rendered from, so a later reconcile can detect drift and trigger a rewrite.
Fields§
§path: StringRelative path of the sidecar file under the account root.
hash: StringContent/source change hash; a change triggers a rewrite.
Trait Implementations§
Source§impl Clone for ArtifactState
impl Clone for ArtifactState
Source§fn clone(&self) -> ArtifactState
fn clone(&self) -> ArtifactState
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 ArtifactState
impl Debug for ArtifactState
Source§impl Default for ArtifactState
impl Default for ArtifactState
Source§fn default() -> ArtifactState
fn default() -> ArtifactState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArtifactStatewhere
ArtifactState: Default,
impl<'de> Deserialize<'de> for ArtifactStatewhere
ArtifactState: Default,
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
impl Eq for ArtifactState
Source§impl PartialEq for ArtifactState
impl PartialEq for ArtifactState
Source§fn eq(&self, other: &ArtifactState) -> bool
fn eq(&self, other: &ArtifactState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArtifactState
impl Serialize for ArtifactState
impl StructuralPartialEq for ArtifactState
Auto Trait Implementations§
impl Freeze for ArtifactState
impl RefUnwindSafe for ArtifactState
impl Send for ArtifactState
impl Sync for ArtifactState
impl Unpin for ArtifactState
impl UnsafeUnpin for ArtifactState
impl UnwindSafe for ArtifactState
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