Struct libflatpak::builders::RelatedRefBuilder
source · pub struct RelatedRefBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct RelatedRef
objects.
Implementations§
source§impl RelatedRefBuilder
impl RelatedRefBuilder
pub fn should_autoprune(self, should_autoprune: bool) -> Self
pub fn should_delete(self, should_delete: bool) -> Self
pub fn should_download(self, should_download: bool) -> Self
pub fn subpaths(self, subpaths: impl Into<StrV>) -> Self
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
sourcepub fn build(self) -> RelatedRef
pub fn build(self) -> RelatedRef
Build the RelatedRef
.
Auto Trait Implementations§
impl Freeze for RelatedRefBuilder
impl RefUnwindSafe for RelatedRefBuilder
impl !Send for RelatedRefBuilder
impl !Sync for RelatedRefBuilder
impl Unpin for RelatedRefBuilder
impl UnwindSafe for RelatedRefBuilder
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