Struct serde_at::SerializeOptions
source · [−]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
Auto Trait Implementations
impl<'a> RefUnwindSafe for SerializeOptions<'a>
impl<'a> Send for SerializeOptions<'a>
impl<'a> Sync for SerializeOptions<'a>
impl<'a> Unpin for SerializeOptions<'a>
impl<'a> UnwindSafe for SerializeOptions<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more