Struct otdrs::types::BlockInfo[][src]

pub struct BlockInfo<'a> {
    pub identifier: &'a str,
    pub revision_number: u16,
    pub size: i32,
}
Expand description

A BlockInfo struct contains information about a specific block later in the file, and appears in the MapBlock

Fields

identifier: &'a str

Name of the block

revision_number: u16

Revision number - major (3 digits), minor, cosmetic

size: i32

Size in bytes of the block

Trait Implementations

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. 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

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.