pub struct TreeEntryBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> TreeEntryBuilder<'a, Empty>
impl<'a> TreeEntryBuilder<'a, Empty>
Source§impl<'a, S: State> TreeEntryBuilder<'a, S>
impl<'a, S: State> TreeEntryBuilder<'a, S>
Sourcepub fn last_commit(self, value: impl Into<Option<LastCommit<'a>>>) -> Self
pub fn last_commit(self, value: impl Into<Option<LastCommit<'a>>>) -> Self
Set the last_commit field (optional)
Sourcepub fn maybe_last_commit(self, value: Option<LastCommit<'a>>) -> Self
pub fn maybe_last_commit(self, value: Option<LastCommit<'a>>) -> Self
Set the last_commit field to an Option value (optional)
Source§impl<'a, S> TreeEntryBuilder<'a, S>
impl<'a, S> TreeEntryBuilder<'a, S>
Source§impl<'a, S> TreeEntryBuilder<'a, S>
impl<'a, S> TreeEntryBuilder<'a, S>
Source§impl<'a, S> TreeEntryBuilder<'a, S>
impl<'a, S> TreeEntryBuilder<'a, S>
Source§impl<'a, S> TreeEntryBuilder<'a, S>
impl<'a, S> TreeEntryBuilder<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for TreeEntryBuilder<'a, S>
impl<'a, S> RefUnwindSafe for TreeEntryBuilder<'a, S>
impl<'a, S> Send for TreeEntryBuilder<'a, S>
impl<'a, S> Sync for TreeEntryBuilder<'a, S>
impl<'a, S> Unpin for TreeEntryBuilder<'a, S>
impl<'a, S> UnsafeUnpin for TreeEntryBuilder<'a, S>
impl<'a, S> UnwindSafe for TreeEntryBuilder<'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