pub struct EngineBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl EngineBuilder<Empty, DefaultStr>
impl EngineBuilder<Empty, DefaultStr>
Source§impl<S: BosStr> EngineBuilder<Empty, S>
impl<S: BosStr> EngineBuilder<Empty, S>
Source§impl<St: State, S: BosStr> EngineBuilder<St, S>
impl<St: State, S: BosStr> EngineBuilder<St, S>
Source§impl<St, S: BosStr> EngineBuilder<St, S>
impl<St, S: BosStr> EngineBuilder<St, S>
Sourcepub fn created_at(
self,
value: impl Into<Datetime>,
) -> EngineBuilder<SetCreatedAt<St>, S>
pub fn created_at( self, value: impl Into<Datetime>, ) -> EngineBuilder<SetCreatedAt<St>, S>
Set the createdAt field (required)
Source§impl<St: State, S: BosStr> EngineBuilder<St, S>
impl<St: State, S: BosStr> EngineBuilder<St, S>
Sourcepub fn description(self, value: impl Into<Option<S>>) -> Self
pub fn description(self, value: impl Into<Option<S>>) -> Self
Set the description field (optional)
Sourcepub fn maybe_description(self, value: Option<S>) -> Self
pub fn maybe_description(self, value: Option<S>) -> Self
Set the description field to an Option value (optional)
Source§impl<St: State, S: BosStr> EngineBuilder<St, S>
impl<St: State, S: BosStr> EngineBuilder<St, S>
Source§impl<St, S: BosStr> EngineBuilder<St, S>
impl<St, S: BosStr> EngineBuilder<St, S>
Sourcepub fn name(self, value: impl Into<S>) -> EngineBuilder<SetName<St>, S>
pub fn name(self, value: impl Into<S>) -> EngineBuilder<SetName<St>, S>
Set the name field (required)
Source§impl<St: State, S: BosStr> EngineBuilder<St, S>
impl<St: State, S: BosStr> EngineBuilder<St, S>
Source§impl<St: State, S: BosStr> EngineBuilder<St, S>
impl<St: State, S: BosStr> EngineBuilder<St, S>
Auto Trait Implementations§
impl<St, S> Freeze for EngineBuilder<St, S>where
S: Freeze,
impl<St, S> RefUnwindSafe for EngineBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for EngineBuilder<St, S>where
S: Send,
impl<St, S> Sync for EngineBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for EngineBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for EngineBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for EngineBuilder<St, S>where
S: UnwindSafe + RefUnwindSafe,
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