pub struct SnapshotHeader {
pub project: ProjectName,
pub tag: TagName,
pub branch: Option<String>,
pub commit: CommitSha,
pub scanned_paths: Vec<String>,
pub apps_scanned: Vec<ApplicationName>,
pub generated_by: String,
pub generated_at: OffsetDateTime,
pub extractor_version: String,
pub dep_pins: Vec<VendoredDep>,
}Fields§
§project: ProjectName§tag: TagName§branch: Option<String>§commit: CommitSha§scanned_paths: Vec<String>§apps_scanned: Vec<ApplicationName>Names of Erlang/OTP applications included in this snapshot. Populated
for multi_app and erlang_otp projects: empty for single_app.
generated_by: String§generated_at: OffsetDateTime§extractor_version: StringVersion of the extractor that produced this snapshot. Compared against
the running binary’s EXTRACTOR_VERSION by snapshots verify --all.
Empty string when reading pre-extractor-versioning snapshots.
dep_pins: Vec<VendoredDep>Vendored dependency pins captured from the project’s components file
(e.g. rabbitmq-components.mk). Populated for projects whose family
declares a components-file shape; empty otherwise. Format version 4
and later.
Trait Implementations§
Source§impl Clone for SnapshotHeader
impl Clone for SnapshotHeader
Source§impl Debug for SnapshotHeader
impl Debug for SnapshotHeader
Source§impl<'de> Deserialize<'de> for SnapshotHeader
impl<'de> Deserialize<'de> for SnapshotHeader
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 SnapshotHeader
Source§impl PartialEq for SnapshotHeader
impl PartialEq for SnapshotHeader
Source§impl Serialize for SnapshotHeader
impl Serialize for SnapshotHeader
impl StructuralPartialEq for SnapshotHeader
Auto Trait Implementations§
impl Freeze for SnapshotHeader
impl RefUnwindSafe for SnapshotHeader
impl Send for SnapshotHeader
impl Sync for SnapshotHeader
impl Unpin for SnapshotHeader
impl UnsafeUnpin for SnapshotHeader
impl UnwindSafe for SnapshotHeader
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