[][src]Struct serde_at::SerializeOptions

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

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

impl<'a> Default for SerializeOptions<'a>[src]

Auto Trait Implementations

impl<'a> Send for SerializeOptions<'a>

impl<'a> Sync for SerializeOptions<'a>

impl<'a> Unpin for SerializeOptions<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.