pub struct ActionSubGroup {
pub title: Option<String>,
pub action_items: Vec<ActionItemRequest>,
pub allow_batch_completion: bool,
}Fields§
§title: Option<String>§action_items: Vec<ActionItemRequest>§allow_batch_completion: boolImplementations§
Source§impl ActionSubGroup
impl ActionSubGroup
pub fn new( title: Option<String>, action_items: Vec<ActionItemRequest>, allow_batch_completion: bool, ) -> Self
pub fn contains_validate_modal_item(&self) -> bool
pub fn compile_actions_to_item_updates( &self, action_item_requests: &BTreeMap<BlockId, ActionItemRequest>, ) -> Vec<ActionItemRequestUpdate>
pub fn filter_existing_action_items( &mut self, existing_requests: &Vec<&mut ActionItemRequest>, ) -> &mut Self
Trait Implementations§
Source§impl Clone for ActionSubGroup
impl Clone for ActionSubGroup
Source§fn clone(&self) -> ActionSubGroup
fn clone(&self) -> ActionSubGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionSubGroup
impl Debug for ActionSubGroup
Source§impl<'de> Deserialize<'de> for ActionSubGroup
impl<'de> Deserialize<'de> for ActionSubGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActionSubGroup
impl RefUnwindSafe for ActionSubGroup
impl Send for ActionSubGroup
impl Sync for ActionSubGroup
impl Unpin for ActionSubGroup
impl UnwindSafe for ActionSubGroup
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