pub struct PackageManifestBuilder { /* private fields */ }
Implementations§
Source§impl PackageManifestBuilder
impl PackageManifestBuilder
pub fn new(meta_package: MetaPackage) -> Self
pub fn repository(self, repository: impl Into<String>) -> Self
pub fn delivery_blob_type( self, delivery_blob_type: Option<DeliveryBlobType>, ) -> Self
pub fn add_blob(self, info: BlobInfo) -> Self
pub fn add_subpackage(self, info: SubpackageInfo) -> Self
pub fn build(self) -> PackageManifest
Auto Trait Implementations§
impl Freeze for PackageManifestBuilder
impl RefUnwindSafe for PackageManifestBuilder
impl Send for PackageManifestBuilder
impl Sync for PackageManifestBuilder
impl Unpin for PackageManifestBuilder
impl UnwindSafe for PackageManifestBuilder
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