pub struct Builder<T>(/* private fields */);
Expand description
A builder for InvalidCustomTimestampFormat
Implementations§
Source§impl Builder<TimeFormatStage>
impl Builder<TimeFormatStage>
Sourcepub fn time_format(self, time_format: impl Into<String>) -> Builder<ReasonStage>
pub fn time_format(self, time_format: impl Into<String>) -> Builder<ReasonStage>
Sets the time_format
field.
Source§impl Builder<ReasonStage>
impl Builder<ReasonStage>
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn time_format(self, time_format: impl Into<String>) -> Self
pub fn time_format(self, time_format: impl Into<String>) -> Self
Sets the time_format
field.
Sourcepub fn build(self) -> InvalidCustomTimestampFormat
pub fn build(self) -> InvalidCustomTimestampFormat
Consumes the builder, returning a InvalidCustomTimestampFormat
.
Trait Implementations§
Source§impl Default for Builder<TimeFormatStage>
impl Default for Builder<TimeFormatStage>
Source§impl From<InvalidCustomTimestampFormat> for Builder<Complete>
impl From<InvalidCustomTimestampFormat> for Builder<Complete>
Source§fn from(v: InvalidCustomTimestampFormat) -> Self
fn from(v: InvalidCustomTimestampFormat) -> 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