#[repr(C)]pub struct TimeAffinityBuilder<'shape> { /* private fields */ }Expand description
Builder for UuidAffinity
Implementations§
Source§impl<'shape> TimeAffinityBuilder<'shape>
impl<'shape> TimeAffinityBuilder<'shape>
Sourcepub const fn granularity(self, granularity: PtrConst<'shape>) -> Self
pub const fn granularity(self, granularity: PtrConst<'shape>) -> Self
Sets the granularity for the TimeAffinity
Sourcepub const fn interval_elements(
self,
interval_elements: &'shape [PtrConst<'shape>],
) -> Self
pub const fn interval_elements( self, interval_elements: &'shape [PtrConst<'shape>], ) -> Self
Sets the interval elements for the TimeAffinity
Sourcepub const fn timezone_granularity(
self,
timezone_granularity: PtrConst<'shape>,
) -> Self
pub const fn timezone_granularity( self, timezone_granularity: PtrConst<'shape>, ) -> Self
Sets the timezone granularity for the TimeAffinity
Sourcepub const fn build(self) -> ScalarAffinity<'shape>
pub const fn build(self) -> ScalarAffinity<'shape>
Builds the ScalarAffinity
Auto Trait Implementations§
impl<'shape> Freeze for TimeAffinityBuilder<'shape>
impl<'shape> RefUnwindSafe for TimeAffinityBuilder<'shape>
impl<'shape> Send for TimeAffinityBuilder<'shape>
impl<'shape> Sync for TimeAffinityBuilder<'shape>
impl<'shape> Unpin for TimeAffinityBuilder<'shape>
impl<'shape> UnwindSafe for TimeAffinityBuilder<'shape>
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