pub struct NoteBuilder { /* private fields */ }Expand description
Builder for adding notes with custom settings.
All boolean options default to false.
Implementations§
Source§impl NoteBuilder
impl NoteBuilder
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.
pub fn build(self) -> NoteData
Auto Trait Implementations§
impl Freeze for NoteBuilder
impl RefUnwindSafe for NoteBuilder
impl Send for NoteBuilder
impl Sync for NoteBuilder
impl Unpin for NoteBuilder
impl UnsafeUnpin for NoteBuilder
impl UnwindSafe for NoteBuilder
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