Enum mobi::headers::ExthRecord

source ·
pub enum ExthRecord {
Show 47 variants DrmServerId, DrmCommerceId, DrmEbookbaseBookId, Author, Publisher, Imprint, Description, Isbn, Subject, PublishDate, Review, Contributor, Rights, Subjectcode, Type, Source, Asin, VersionNumber, Sample, Startreading, Adult, RetailPrice, RetailPriceCurrency, KF8BoundaryOffset, CountOfResources, KF8CoverURI, DictionaryShortName, CoverOffset, ThumbOffset, HasFakeCover, CreatorSoftware, CreatoreMajorVersion, CreatorMinorVersion, CreatorBuildNumber, Watermark, TamperProofKeys, FontSignature, ClippingLimit, PublisherLimit, TtsFlag, IsRented, BorrowExpirationDate, Cdetype, LastUpdateTime, Title, Language, Other(u32),
}

Variants§

§

DrmServerId

§

DrmCommerceId

§

DrmEbookbaseBookId

§

Author

§

Publisher

§

Imprint

§

Description

§

Isbn

§

Subject

§

PublishDate

§

Review

§

Contributor

§

Rights

§

Subjectcode

§

Type

§

Source

§

Asin

§

VersionNumber

§

Sample

0x0001 if the book content is only a sample of the full book

§

Startreading

Position (4-byte offset) in file at which to open when first opened

§

Adult

Mobipocket Creator adds this if Adult only is checked on its GUI; contents: “yes”

§

RetailPrice

As text, e.g. “4.99”

§

RetailPriceCurrency

As text, e.g. “USD”

§

KF8BoundaryOffset

§

CountOfResources

§

KF8CoverURI

§

DictionaryShortName

§

CoverOffset

Add to first image field in Mobi Header to find PDB record containing the cover image

§

ThumbOffset

Add to first image field in Mobi Header to find PDB record containing the thumbnail cover image

§

HasFakeCover

§

CreatorSoftware

Known Values: 1=mobigen, 2=Mobipocket Creator, 200=kindlegen (Windows), 201=kindlegen (Linux), 202=kindlegen (Mac). Warning: Calibre creates fake creator entries, pretending to be a Linux kindlegen 1.2 (201, 1, 2, 33307) for normal ebooks and a non-public Linux kindlegen 2.0 (201, 2, 0, 101) for periodicals.

§

CreatoreMajorVersion

§

CreatorMinorVersion

§

CreatorBuildNumber

§

Watermark

§

TamperProofKeys

Used by the Kindle (and Android app) for generating book-specific PIDs.

§

FontSignature

§

ClippingLimit

Integer percentage of the text allowed to be clipped. Usually 10.

§

PublisherLimit

§

TtsFlag

1 - Text to Speech disabled; 0 - Text to Speech enabled

§

IsRented

1 in this field seems to indicate a rental book

§

BorrowExpirationDate

If this field is removed from a rental, the book says it expired in 1969

§

Cdetype

PDOC - Personal Doc; EBOK - ebook; EBSP - ebook sample;

§

LastUpdateTime

§

Title

§

Language

§

Other(u32)

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.