pub struct BundleOptions {
pub extra_roots: Vec<PathBuf>,
pub include_glob: String,
pub exclude: Vec<String>,
pub name: Option<String>,
pub emit: EmitSet,
pub on_conflict: OnConflict,
pub wkt_imports: WktImports,
}Expand description
Options controlling source resolution, conflict handling, and rendering.
Fields§
§extra_roots: Vec<PathBuf>Extra include roots added on top of auto-detection — for cross-repo
dependencies whose .proto live outside the source.
include_glob: StringTrailing path suffix that marks an include root in repo mode.
exclude: Vec<String>Directory-name components to prune from discovery (e.g. a vendored build-staging copy that diverges from the canonical tree).
name: Option<String>Output basename; None ⇒ derived from the source path.
emit: EmitSet§on_conflict: OnConflict§wkt_imports: WktImportsTrait Implementations§
Source§impl Clone for BundleOptions
impl Clone for BundleOptions
Source§fn clone(&self) -> BundleOptions
fn clone(&self) -> BundleOptions
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 BundleOptions
impl Debug for BundleOptions
Auto Trait Implementations§
impl Freeze for BundleOptions
impl RefUnwindSafe for BundleOptions
impl Send for BundleOptions
impl Sync for BundleOptions
impl Unpin for BundleOptions
impl UnwindSafe for BundleOptions
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