Enum taskchampion::server::GetVersionResult[][src]

pub enum GetVersionResult {
    NoSuchVersion,
    Version {
        version_id: VersionId,
        parent_version_id: VersionId,
        history_segment: HistorySegment,
    },
}
Expand description

A version as downloaded from the server

Variants

NoSuchVersion

No such version exists

Version

The requested version

Fields of Version

version_id: VersionIdparent_version_id: VersionIdhistory_segment: HistorySegment

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.