pub struct SourcePackageRecipe(/* private fields */);Expand description
An ISourcePackageRecipe describes how to build a source package.
More precisely, it describes how to combine a number of branches into a debianized source tree.
Implementations§
Source§impl SourcePackageRecipe
impl SourcePackageRecipe
pub fn get<'a>( &self, client: &'a dyn Client, ) -> Result<SourcePackageRecipeFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &SourcePackageRecipeFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &SourcePackageRecipeDiff, ) -> Result<(), Error>
Sourcepub fn request_build<'a>(
&self,
client: &'a dyn Client,
archive: &Archive,
distroseries: &DistroSeries,
pocket: &Pocket,
) -> Result<SourcePackageRecipeBuildFull, Error>
pub fn request_build<'a>( &self, client: &'a dyn Client, archive: &Archive, distroseries: &DistroSeries, pocket: &Pocket, ) -> Result<SourcePackageRecipeBuildFull, Error>
Request that the recipe be built in to the specified archive.
§Arguments
archive: The IArchive which you want the build to end up in.distroseriespocket: the pocket that should be targeted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourcePackageRecipe
impl RefUnwindSafe for SourcePackageRecipe
impl Send for SourcePackageRecipe
impl Sync for SourcePackageRecipe
impl Unpin for SourcePackageRecipe
impl UnwindSafe for SourcePackageRecipe
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