Struct acct::AcctFile

source ·
pub struct AcctFile {
    pub records: Vec<AcctV3>,
}
Expand description

Represents an acct(5) log file. Iterate over records field to examine contents

Fields

records: Vec<AcctV3>

Vector of acct records

Implementations

Construct a new AcctFile struct from a Reader

Convert the AcctFile object into bytes for writing back into file. Consumes the object.

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

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 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.