pub struct Builder<T>(/* private fields */);Expand description
A builder for CachedStorageLocator
Implementations§
Source§impl Builder<TypeStage>
impl Builder<TypeStage>
Sourcepub fn type_(self, type_: NominalDataType) -> Builder<Complete>
pub fn type_(self, type_: NominalDataType) -> Builder<Complete>
Sets the type_ field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn insert_series_uuids(self, series_uuids: Uuid) -> Self
pub fn insert_series_uuids(self, series_uuids: Uuid) -> Self
Adds a value to the series_uuids field.
Sourcepub fn series_uuids(self, series_uuids: impl IntoIterator<Item = Uuid>) -> Self
pub fn series_uuids(self, series_uuids: impl IntoIterator<Item = Uuid>) -> Self
Sets the series_uuids field.
Sourcepub fn extend_series_uuids(
self,
series_uuids: impl IntoIterator<Item = Uuid>,
) -> Self
pub fn extend_series_uuids( self, series_uuids: impl IntoIterator<Item = Uuid>, ) -> Self
Adds values to the series_uuids field.
Sourcepub fn type_(self, type_: NominalDataType) -> Self
pub fn type_(self, type_: NominalDataType) -> Self
Sets the type_ field.
Sourcepub fn build(self) -> CachedStorageLocator
pub fn build(self) -> CachedStorageLocator
Consumes the builder, returning a CachedStorageLocator.
Trait Implementations§
Source§impl From<CachedStorageLocator> for Builder<Complete>
impl From<CachedStorageLocator> for Builder<Complete>
Source§fn from(v: CachedStorageLocator) -> Self
fn from(v: CachedStorageLocator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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