pub struct GeneratorParams {
pub microservices: Microservices,
pub metadata: bool,
pub use_fingerprints: bool,
pub serde: bool,
pub specta: bool,
pub generate_tests: bool,
/* private fields */
}
Expand description
Generator
parameters.
Fields§
§microservices: Microservices
MAVLink microservices requested to be generated
metadata: bool
Add additional metadata to MAVLink entities.
use_fingerprints: bool
Use fingerprints for bindings caching
serde: bool
Add serde support
specta: bool
Add specta support
generate_tests: bool
Generate tests for MAVLink entities
Trait Implementations§
Source§impl Clone for GeneratorParams
impl Clone for GeneratorParams
Source§fn clone(&self) -> GeneratorParams
fn clone(&self) -> GeneratorParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GeneratorParams
impl Debug for GeneratorParams
Source§impl Default for GeneratorParams
impl Default for GeneratorParams
Source§fn default() -> GeneratorParams
fn default() -> GeneratorParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GeneratorParams
impl RefUnwindSafe for GeneratorParams
impl Send for GeneratorParams
impl Sync for GeneratorParams
impl Unpin for GeneratorParams
impl UnwindSafe for GeneratorParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more