Struct serde_lvm::Version [] [src]

#[must_use]
pub struct Version(_);

Reader / writer version

Methods

impl Version
[src]

[src]

Map a function over the wrapped value, consuming it in the process.

[src]

Map a function over the wrapped value without consuming it.

Methods from Deref<Target = Version>

[src]

Checks to see if the current Version is in pre-release status

Trait Implementations

impl Clone for Version
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Version
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Version
[src]

impl From<Version> for Version
[src]

[src]

Performs the conversion.

impl From<Version> for Version
[src]

[src]

Performs the conversion.

impl Ord for Version
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialEq for Version
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl PartialOrd for Version
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Deref for Version
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl Borrow<Version> for Version
[src]

[src]

Immutably borrows from an owned value. Read more

impl AsRef<Version> for Version
[src]

[src]

Performs the conversion.

impl Display for Version
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Version
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl<'de> Deserialize<'de> for Version
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Version
[src]

[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Version

impl Sync for Version