pub struct NoteBuilder<'a> { /* private fields */ }Expand description
Builder for adding notes with custom settings.
All boolean options default to false.
Implementations§
Source§impl<'a> NoteBuilder<'a>
impl<'a> NoteBuilder<'a>
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set the note content.
Sourcepub fn mark_first_response(self) -> Self
pub fn mark_first_response(self) -> Self
Mark as first response.
Sourcepub fn add_to_linked_requests(self) -> Self
pub fn add_to_linked_requests(self) -> Self
Add to linked requests.
Sourcepub fn notify_technician(self) -> Self
pub fn notify_technician(self) -> Self
Notify the assigned technician.
Sourcepub fn show_to_requester(self) -> Self
pub fn show_to_requester(self) -> Self
Make visible to the requester.
Auto Trait Implementations§
impl<'a> Freeze for NoteBuilder<'a>
impl<'a> !RefUnwindSafe for NoteBuilder<'a>
impl<'a> Send for NoteBuilder<'a>
impl<'a> Sync for NoteBuilder<'a>
impl<'a> Unpin for NoteBuilder<'a>
impl<'a> !UnwindSafe for NoteBuilder<'a>
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