pub struct AppendCmd<'a, T: Read + Write> { /* private fields */ }
Expand description

A builder for the append command

Implementations

The APPEND command can take an optional FLAGS parameter to set the flags on the new message.

If a flag parenthesized list is specified, the flags SHOULD be set in the resulting message; otherwise, the flag list of the resulting message is set to empty by default. In either case, the Recent flag is also set.

The \Recent flag is not allowed as an argument to APPEND and will be filtered out if present in flags.

Set multiple flags at once.

Pass a date in order to set the date that the message was originally sent.

If a date-time is specified, the internal date SHOULD be set in the resulting message; otherwise, the internal date of the resulting message is set to the current date and time by default.

Finishes up the command and executes it.

Note: be sure to set flags and optional date before you finish the command.

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.