Struct oci_spec::distribution::RepositoryListBuilder
source · pub struct RepositoryListBuilder { /* private fields */ }
Expand description
Builder for RepositoryList
.
Implementations§
source§impl RepositoryListBuilder
impl RepositoryListBuilder
sourcepub fn repositories<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn repositories<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
The items of the RepositoryList.
sourcepub fn build(self) -> Result<RepositoryList, OciSpecError>
pub fn build(self) -> Result<RepositoryList, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepositoryListBuilder
impl RefUnwindSafe for RepositoryListBuilder
impl Send for RepositoryListBuilder
impl Sync for RepositoryListBuilder
impl Unpin for RepositoryListBuilder
impl UnwindSafe for RepositoryListBuilder
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