Struct dbus_codegen::GenOpts
source · pub struct GenOpts {
pub dbuscrate: String,
pub methodtype: Option<String>,
pub skipprefix: Option<String>,
pub serveraccess: ServerAccess,
pub genericvariant: bool,
}
Expand description
Code generation options
Fields
dbuscrate: String
Name of dbus crate (used for import)
methodtype: Option<String>
MethodType for server impl, set to none for client impl only
skipprefix: Option<String>
Removes a prefix from interface names
serveraccess: ServerAccess
Type of server access
genericvariant: bool
Tries to make variants generic instead of Variant<Box
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GenOpts
impl Send for GenOpts
impl Sync for GenOpts
impl Unpin for GenOpts
impl UnwindSafe for GenOpts
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