pub struct GenerateConfig {
pub roots: Vec<PathBuf>,
pub includes: Vec<PathBuf>,
pub rust_out: PathBuf,
pub ts_out: PathBuf,
pub lock_file: PathBuf,
pub check: bool,
pub protoc: Option<PathBuf>,
}Expand description
Inputs and destinations for deterministic application IPC generation.
Fields§
§roots: Vec<PathBuf>Application proto files (not the SDK options schema).
includes: Vec<PathBuf>Protobuf import search directories.
rust_out: PathBufDestination for ipc.rs, ipc_messages.rs, and generated payload codecs.
ts_out: PathBufDestination for ipc.ts, ipc-runtime.ts, and generated payload codecs.
lock_file: PathBufChecked-in compatibility history, conventionally ipc-schema.lock.json.
check: boolCompare all artifacts without modifying existing files.
protoc: Option<PathBuf>Explicit protoc executable, otherwise PROTOC, then protoc on PATH.
Trait Implementations§
Source§impl Clone for GenerateConfig
impl Clone for GenerateConfig
Auto Trait Implementations§
impl Freeze for GenerateConfig
impl RefUnwindSafe for GenerateConfig
impl Send for GenerateConfig
impl Sync for GenerateConfig
impl Unpin for GenerateConfig
impl UnsafeUnpin for GenerateConfig
impl UnwindSafe for GenerateConfig
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