pub struct StackManifestArtifact {
pub artifact_version: String,
pub kind: String,
pub artifact_hash: HashId<StackManifest>,
pub payload: StackManifestV1,
}Fields§
§artifact_version: String§kind: String§artifact_hash: HashId<StackManifest>§payload: StackManifestV1Implementations§
Source§impl StackManifestArtifact
impl StackManifestArtifact
pub fn new(payload: StackManifestV1) -> Result<Self, ArtifactError>
pub fn validate(&self) -> Result<(), ArtifactError>
pub fn canonical_bytes(&self) -> Result<Vec<u8>, ArtifactError>
Trait Implementations§
Source§impl Clone for StackManifestArtifact
impl Clone for StackManifestArtifact
Source§fn clone(&self) -> StackManifestArtifact
fn clone(&self) -> StackManifestArtifact
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 StackManifestArtifact
impl Debug for StackManifestArtifact
Source§impl<'de> Deserialize<'de> for StackManifestArtifact
impl<'de> Deserialize<'de> for StackManifestArtifact
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
Auto Trait Implementations§
impl Freeze for StackManifestArtifact
impl RefUnwindSafe for StackManifestArtifact
impl Send for StackManifestArtifact
impl Sync for StackManifestArtifact
impl Unpin for StackManifestArtifact
impl UnsafeUnpin for StackManifestArtifact
impl UnwindSafe for StackManifestArtifact
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