Struct libflatpak::builders::BundleRefBuilder
source · pub struct BundleRefBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct BundleRef
objects.
Implementations§
source§impl BundleRefBuilder
impl BundleRefBuilder
pub fn arch(self, arch: impl Into<GString>) -> Self
pub fn branch(self, branch: impl Into<GString>) -> Self
pub fn collection_id(self, collection_id: impl Into<GString>) -> Self
pub fn commit(self, commit: impl Into<GString>) -> Self
pub fn kind(self, kind: RefKind) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
Auto Trait Implementations§
impl Freeze for BundleRefBuilder
impl RefUnwindSafe for BundleRefBuilder
impl !Send for BundleRefBuilder
impl !Sync for BundleRefBuilder
impl Unpin for BundleRefBuilder
impl UnwindSafe for BundleRefBuilder
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