Struct ttrpc_compiler::Customize
source · pub struct Customize {
pub async_all: bool,
pub async_client: bool,
pub async_server: bool,
}
Expand description
Customize generated code.
Fields§
§async_all: bool
Indicates whether to generate async code for both server and client.
async_client: bool
Indicates whether to generate async code for client.
async_server: bool
Indicates whether to generate async code for server.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Customize
impl Send for Customize
impl Sync for Customize
impl Unpin for Customize
impl UnwindSafe for Customize
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