Struct libflatpak::builders::InstalledRefBuilder
source · pub struct InstalledRefBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct InstalledRef
objects.
Implementations§
source§impl InstalledRefBuilder
impl InstalledRefBuilder
pub fn appdata_content_rating_type( self, appdata_content_rating_type: impl Into<GString>, ) -> Self
pub fn appdata_license(self, appdata_license: impl Into<GString>) -> Self
pub fn appdata_name(self, appdata_name: impl Into<GString>) -> Self
pub fn appdata_summary(self, appdata_summary: impl Into<GString>) -> Self
pub fn appdata_version(self, appdata_version: impl Into<GString>) -> Self
pub fn deploy_dir(self, deploy_dir: impl Into<GString>) -> Self
pub fn end_of_life(self, end_of_life: impl Into<GString>) -> Self
pub fn end_of_life_rebase(self, end_of_life_rebase: impl Into<GString>) -> Self
pub fn installed_size(self, installed_size: u64) -> Self
pub fn is_current(self, is_current: bool) -> Self
pub fn latest_commit(self, latest_commit: impl Into<GString>) -> Self
pub fn origin(self, origin: impl Into<GString>) -> 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) -> InstalledRef
pub fn build(self) -> InstalledRef
Build the InstalledRef
.
Auto Trait Implementations§
impl Freeze for InstalledRefBuilder
impl RefUnwindSafe for InstalledRefBuilder
impl !Send for InstalledRefBuilder
impl !Sync for InstalledRefBuilder
impl Unpin for InstalledRefBuilder
impl UnwindSafe for InstalledRefBuilder
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