pub struct ChapterBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> ChapterBuilder<'a, Empty>
impl<'a> ChapterBuilder<'a, Empty>
Source§impl<'a, S: State> ChapterBuilder<'a, S>
impl<'a, S: State> ChapterBuilder<'a, S>
Sourcepub fn created_at(self, value: impl Into<Option<Datetime>>) -> Self
pub fn created_at(self, value: impl Into<Option<Datetime>>) -> Self
Set the createdAt field (optional)
Sourcepub fn maybe_created_at(self, value: Option<Datetime>) -> Self
pub fn maybe_created_at(self, value: Option<Datetime>) -> Self
Set the createdAt field to an Option value (optional)
Source§impl<'a, S> ChapterBuilder<'a, S>
impl<'a, S> ChapterBuilder<'a, S>
Sourcepub fn entry_list(
self,
value: impl Into<Vec<StrongRef<'a>>>,
) -> ChapterBuilder<'a, SetEntryList<S>>
pub fn entry_list( self, value: impl Into<Vec<StrongRef<'a>>>, ) -> ChapterBuilder<'a, SetEntryList<S>>
Set the entryList field (required)
Source§impl<'a, S> ChapterBuilder<'a, S>
impl<'a, S> ChapterBuilder<'a, S>
Sourcepub fn notebook(
self,
value: impl Into<StrongRef<'a>>,
) -> ChapterBuilder<'a, SetNotebook<S>>
pub fn notebook( self, value: impl Into<StrongRef<'a>>, ) -> ChapterBuilder<'a, SetNotebook<S>>
Set the notebook field (required)
Source§impl<'a, S: State> ChapterBuilder<'a, S>
impl<'a, S: State> ChapterBuilder<'a, S>
Set the tags field (optional)
Set the tags field to an Option value (optional)
Source§impl<'a, S: State> ChapterBuilder<'a, S>
impl<'a, S: State> ChapterBuilder<'a, S>
Source§impl<'a, S> ChapterBuilder<'a, S>
impl<'a, S> ChapterBuilder<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for ChapterBuilder<'a, S>
impl<'a, S> RefUnwindSafe for ChapterBuilder<'a, S>
impl<'a, S> Send for ChapterBuilder<'a, S>
impl<'a, S> Sync for ChapterBuilder<'a, S>
impl<'a, S> Unpin for ChapterBuilder<'a, S>
impl<'a, S> UnwindSafe for ChapterBuilder<'a, S>
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