pub struct ActionGroup {
pub title: String,
pub sub_groups: Vec<ActionSubGroup>,
}Fields§
§title: String§sub_groups: Vec<ActionSubGroup>Implementations§
Source§impl ActionGroup
impl ActionGroup
pub fn new(title: &str, sub_groups: Vec<ActionSubGroup>) -> Self
pub fn contains_validate_modal_item(&self) -> bool
pub fn apply_action_item_updates( &mut self, update: &NormalizedActionItemRequestUpdate, ) -> 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 ActionGroup
impl Clone for ActionGroup
Source§fn clone(&self) -> ActionGroup
fn clone(&self) -> ActionGroup
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 ActionGroup
impl Debug for ActionGroup
Source§impl<'de> Deserialize<'de> for ActionGroup
impl<'de> Deserialize<'de> for ActionGroup
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 ActionGroup
impl RefUnwindSafe for ActionGroup
impl Send for ActionGroup
impl Sync for ActionGroup
impl Unpin for ActionGroup
impl UnwindSafe for ActionGroup
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