pub struct AssemblyVersionOptions {
pub version: Option<Version>,
pub precision: Option<VersionPrecision>,
}Expand description
Details of how an assembly version is calculated.
Fields§
§version: Option<Version>The explicit assembly version, with two to four components.
precision: Option<VersionPrecision>The additional precision copied from the calculated file version.
Implementations§
Source§impl AssemblyVersionOptions
impl AssemblyVersionOptions
Sourcepub fn precision_or_default(&self) -> VersionPrecision
pub fn precision_or_default(&self) -> VersionPrecision
Returns the configured precision, defaulting to minor.
Trait Implementations§
Source§impl Clone for AssemblyVersionOptions
impl Clone for AssemblyVersionOptions
Source§impl Debug for AssemblyVersionOptions
impl Debug for AssemblyVersionOptions
Source§impl Default for AssemblyVersionOptions
impl Default for AssemblyVersionOptions
Source§impl<'de> Deserialize<'de> for AssemblyVersionOptions
impl<'de> Deserialize<'de> for AssemblyVersionOptions
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 AssemblyVersionOptions
Source§impl PartialEq for AssemblyVersionOptions
impl PartialEq for AssemblyVersionOptions
Auto Trait Implementations§
impl Freeze for AssemblyVersionOptions
impl RefUnwindSafe for AssemblyVersionOptions
impl Send for AssemblyVersionOptions
impl Sync for AssemblyVersionOptions
impl Unpin for AssemblyVersionOptions
impl UnsafeUnpin for AssemblyVersionOptions
impl UnwindSafe for AssemblyVersionOptions
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