pub struct EnvironmentFingerprint {
pub shipper_version: String,
pub cargo_version: Option<String>,
pub rust_version: Option<String>,
pub os: String,
pub arch: String,
}Expand description
Fingerprint of the environment where publishing occurred.
Captures version information about Shipper, Cargo, Rust, and the operating system. This helps reproduce and debug issues.
§Example
ⓘ
use shipper::types::EnvironmentFingerprint;
let fp = EnvironmentFingerprint {
shipper_version: "0.2.0".to_string(),
cargo_version: Some("1.75.0".to_string()),
rust_version: Some("1.75.0".to_string()),
os: "linux".to_string(),
arch: "x86_64".to_string(),
};Fields§
§shipper_version: String§cargo_version: Option<String>§rust_version: Option<String>§os: String§arch: StringTrait Implementations§
Source§impl Clone for EnvironmentFingerprint
impl Clone for EnvironmentFingerprint
Source§fn clone(&self) -> EnvironmentFingerprint
fn clone(&self) -> EnvironmentFingerprint
Returns a duplicate of the value. Read more
1.0.0 · 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 EnvironmentFingerprint
impl Debug for EnvironmentFingerprint
Source§impl<'de> Deserialize<'de> for EnvironmentFingerprint
impl<'de> Deserialize<'de> for EnvironmentFingerprint
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 EnvironmentFingerprint
impl RefUnwindSafe for EnvironmentFingerprint
impl Send for EnvironmentFingerprint
impl Sync for EnvironmentFingerprint
impl Unpin for EnvironmentFingerprint
impl UnsafeUnpin for EnvironmentFingerprint
impl UnwindSafe for EnvironmentFingerprint
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