pub struct RegistryRepositoryBuilder { /* private fields */ }
Expand description
Builder for RegistryRepository
.
Implementations§
Source§impl RegistryRepositoryBuilder
impl RegistryRepositoryBuilder
pub fn id(&mut self, value: i64) -> &mut Self
pub fn location(&mut self, value: String) -> &mut Self
pub fn created_at(&mut self, value: String) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<RegistryRepository, RegistryRepositoryBuilderError>
pub fn build( &self, ) -> Result<RegistryRepository, RegistryRepositoryBuilderError>
Trait Implementations§
Source§impl Clone for RegistryRepositoryBuilder
impl Clone for RegistryRepositoryBuilder
Source§fn clone(&self) -> RegistryRepositoryBuilder
fn clone(&self) -> RegistryRepositoryBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RegistryRepositoryBuilder
impl RefUnwindSafe for RegistryRepositoryBuilder
impl Send for RegistryRepositoryBuilder
impl Sync for RegistryRepositoryBuilder
impl Unpin for RegistryRepositoryBuilder
impl UnwindSafe for RegistryRepositoryBuilder
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