pub struct ArtifactArchiveMember {
pub name: String,
pub fingerprint: ArtifactFingerprint,
pub offset: u64,
pub size: u64,
pub format: Option<ArtifactFormat>,
pub thin: bool,
pub parse_error: Option<String>,
}Expand description
One object member observed inside a static archive.
Fields§
§name: StringArchive-provided member name, preserved only as display evidence.
fingerprint: ArtifactFingerprintContent-derived identity of this member’s bytes.
offset: u64Byte offset of the member data in the archive, never an identity input.
size: u64Member byte length observed in the archive.
format: Option<ArtifactFormat>Container format recognised inside this member, when any.
thin: boolWhether this member is thin and therefore has no local bytes to parse.
parse_error: Option<String>Parser failure or deliberate non-support for this individual member.
This retains a partial archive result rather than hiding unsupported or malformed member bytes behind a successful outer container parse.
Trait Implementations§
Source§impl Clone for ArtifactArchiveMember
impl Clone for ArtifactArchiveMember
Source§fn clone(&self) -> ArtifactArchiveMember
fn clone(&self) -> ArtifactArchiveMember
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 ArtifactArchiveMember
impl Debug for ArtifactArchiveMember
Source§impl<'de> Deserialize<'de> for ArtifactArchiveMember
impl<'de> Deserialize<'de> for ArtifactArchiveMember
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 ArtifactArchiveMember
Source§impl PartialEq for ArtifactArchiveMember
impl PartialEq for ArtifactArchiveMember
Source§impl Serialize for ArtifactArchiveMember
impl Serialize for ArtifactArchiveMember
impl StructuralPartialEq for ArtifactArchiveMember
Auto Trait Implementations§
impl Freeze for ArtifactArchiveMember
impl RefUnwindSafe for ArtifactArchiveMember
impl Send for ArtifactArchiveMember
impl Sync for ArtifactArchiveMember
impl Unpin for ArtifactArchiveMember
impl UnsafeUnpin for ArtifactArchiveMember
impl UnwindSafe for ArtifactArchiveMember
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.