Struct plexo_sdk::cognition::operations::TaskSuggestionInputBuilder
source · pub struct TaskSuggestionInputBuilder { /* private fields */ }Expand description
Builder for TaskSuggestionInput.
Implementations§
source§impl TaskSuggestionInputBuilder
impl TaskSuggestionInputBuilder
pub fn project_id(self, value: Uuid) -> Self
pub fn title(self, value: String) -> Self
pub fn description(self, value: String) -> Self
pub fn status(self, value: TaskStatus) -> Self
pub fn priority(self, value: TaskPriority) -> Self
pub fn due_date(self, value: DateTime<Utc>) -> Self
sourcepub fn build(
self
) -> Result<TaskSuggestionInput, TaskSuggestionInputBuilderError>
pub fn build( self ) -> Result<TaskSuggestionInput, TaskSuggestionInputBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskSuggestionInputBuilder
impl RefUnwindSafe for TaskSuggestionInputBuilder
impl Send for TaskSuggestionInputBuilder
impl Sync for TaskSuggestionInputBuilder
impl Unpin for TaskSuggestionInputBuilder
impl UnwindSafe for TaskSuggestionInputBuilder
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