pub struct ApprovalApplied {
pub scope_type: ApprovalScopeType,
pub scope_id: String,
pub approval_granted_msg_id: MessageId,
pub approval_updated: bool,
pub resumed_task_ids: Vec<String>,
pub dispatched: bool,
pub applied_at: OffsetDateTime,
}Expand description
Confirmation that an approval was applied and tasks may have been resumed.
Fields§
§scope_type: ApprovalScopeTypeThe scope this approval applies to.
scope_id: StringThe ID of the approved project or task.
approval_granted_msg_id: MessageIdReference to the original approval message.
approval_updated: boolWhether the approval state was updated (vs already applied).
resumed_task_ids: Vec<String>Task IDs that were resumed as a result.
dispatched: boolWhether task dispatching occurred after this approval.
applied_at: OffsetDateTimeWhen the approval was applied.
Trait Implementations§
Source§impl Clone for ApprovalApplied
impl Clone for ApprovalApplied
Source§fn clone(&self) -> ApprovalApplied
fn clone(&self) -> ApprovalApplied
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 ApprovalApplied
impl Debug for ApprovalApplied
Source§impl<'de> Deserialize<'de> for ApprovalApplied
impl<'de> Deserialize<'de> for ApprovalApplied
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
Source§impl RoutedBody for ApprovalApplied
impl RoutedBody for ApprovalApplied
Auto Trait Implementations§
impl Freeze for ApprovalApplied
impl RefUnwindSafe for ApprovalApplied
impl Send for ApprovalApplied
impl Sync for ApprovalApplied
impl Unpin for ApprovalApplied
impl UnsafeUnpin for ApprovalApplied
impl UnwindSafe for ApprovalApplied
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