Struct libflatpak::builders::RefBuilder
source · pub struct RefBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Ref
objects.
Implementations§
source§impl RefBuilder
impl RefBuilder
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 RefBuilder
impl RefUnwindSafe for RefBuilder
impl !Send for RefBuilder
impl !Sync for RefBuilder
impl Unpin for RefBuilder
impl UnwindSafe for RefBuilder
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