Struct libflatpak::builders::RemoteBuilder
source · pub struct RemoteBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Remote
objects.
Implementations§
source§impl RemoteBuilder
impl RemoteBuilder
sourcepub fn name(self, name: impl Into<GString>) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
Name of the remote, as used in configuration files and when interfacing
with OSTree. This is typically human readable, but could be generated, and
must conform to ostree_validate_remote_name()
. It should typically not be
presented in the UI.
pub fn type_(self, type_: RemoteType) -> Self
Auto Trait Implementations§
impl Freeze for RemoteBuilder
impl RefUnwindSafe for RemoteBuilder
impl !Send for RemoteBuilder
impl !Sync for RemoteBuilder
impl Unpin for RemoteBuilder
impl UnwindSafe for RemoteBuilder
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