pub struct TaskCardBuilder { /* private fields */ }Expand description
Builder for TaskCard object.
Implementations§
Source§impl TaskCardBuilder
impl TaskCardBuilder
Sourcepub fn get_task_id(&self) -> Option<&String>
pub fn get_task_id(&self) -> Option<&String>
get task_id field value.
Sourcepub fn set_task_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_task_id(self, value: Option<impl Into<String>>) -> Self
set task_id field value.
Sourcepub fn get_details(&self) -> Option<&RichText>
pub fn get_details(&self) -> Option<&RichText>
get details field value.
Sourcepub fn set_details(self, value: Option<impl Into<RichText>>) -> Self
pub fn set_details(self, value: Option<impl Into<RichText>>) -> Self
set details field value.
Sourcepub fn get_output(&self) -> Option<&RichText>
pub fn get_output(&self) -> Option<&RichText>
get output field value.
Sourcepub fn set_output(self, value: Option<impl Into<RichText>>) -> Self
pub fn set_output(self, value: Option<impl Into<RichText>>) -> Self
set output field value.
Sourcepub fn get_sources(&self) -> Option<&[UrlSource]>
pub fn get_sources(&self) -> Option<&[UrlSource]>
get sources field value.
Sourcepub fn set_sources(self, value: Option<impl Into<Vec<UrlSource>>>) -> Self
pub fn set_sources(self, value: Option<impl Into<Vec<UrlSource>>>) -> Self
set sources field value.
Sourcepub fn get_status(&self) -> Option<&TaskStatus>
pub fn get_status(&self) -> Option<&TaskStatus>
get status field value.
Sourcepub fn set_status(self, value: Option<impl Into<TaskStatus>>) -> Self
pub fn set_status(self, value: Option<impl Into<TaskStatus>>) -> Self
set status field value.
Sourcepub fn status(self, value: impl Into<TaskStatus>) -> Self
pub fn status(self, value: impl Into<TaskStatus>) -> Self
set status field value.
Sourcepub fn get_block_id(&self) -> Option<&String>
pub fn get_block_id(&self) -> Option<&String>
get block_id field value.
Sourcepub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
set block_id field value.
Trait Implementations§
Source§impl Debug for TaskCardBuilder
impl Debug for TaskCardBuilder
Auto Trait Implementations§
impl Freeze for TaskCardBuilder
impl RefUnwindSafe for TaskCardBuilder
impl Send for TaskCardBuilder
impl Sync for TaskCardBuilder
impl Unpin for TaskCardBuilder
impl UnsafeUnpin for TaskCardBuilder
impl UnwindSafe for TaskCardBuilder
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