Struct libflatpak::builders::RemoteRefBuilder
source · pub struct RemoteRefBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct RemoteRef
objects.
Implementations§
source§impl RemoteRefBuilder
impl RemoteRefBuilder
pub fn download_size(self, download_size: u64) -> 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 metadata(self, metadata: &Bytes) -> Self
pub fn remote_name(self, remote_name: impl Into<GString>) -> 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
Auto Trait Implementations§
impl Freeze for RemoteRefBuilder
impl RefUnwindSafe for RemoteRefBuilder
impl !Send for RemoteRefBuilder
impl !Sync for RemoteRefBuilder
impl Unpin for RemoteRefBuilder
impl UnwindSafe for RemoteRefBuilder
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