pub struct Packages { /* private fields */ }Implementations§
Source§impl Packages
impl Packages
pub fn new() -> Self
pub fn common(self, common: Common) -> Self
pub fn package<L: Language>(self, package: Package<L>) -> Self
pub fn is_empty(&self) -> bool
Sourcepub fn generate_native(&self) -> Result<GeneratedTree>
pub fn generate_native(&self) -> Result<GeneratedTree>
Generate from explicitly declared native protocol contracts.
The empty legacy HTTP context preserves the plugin ABI; native operations
are carried only by typed requirements and are never mapped into Api.
Sourcepub fn generate_native_report(&self) -> Result<NativeGeneration>
pub fn generate_native_report(&self) -> Result<NativeGeneration>
A structured report lets callers surface skips without treating them as errors. An empty tree must not replace existing generated output when every package skips.
pub fn generate( &self, api: &Api, catalog: Option<&SecuritySchemeCatalog>, ) -> Result<GeneratedTree>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Packages
impl !UnwindSafe for Packages
impl Freeze for Packages
impl Send for Packages
impl Sync for Packages
impl Unpin for Packages
impl UnsafeUnpin for Packages
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