pub struct SerializeOptions<'a> {
    pub value_sep: bool,
    pub cmd_prefix: &'a str,
    pub termination: &'a str,
}
Expand description

Options used by the serializer, to customize the resulting string

Fields

value_sep: bool

Wether or not to include = as a seperator between the at command, and the parameters (serialized struct fields)

default: true

cmd_prefix: &'a str

The prefix, added before the command.

default: “AT”

termination: &'a str

The termination characters to add after the last serialized parameter.

default: “\r\n”

Trait Implementations

Returns the “default value” for a type. 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

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.