pub struct ApprovalGranted {
pub scope_type: ApprovalScopeType,
pub scope_id: String,
pub approved_at: OffsetDateTime,
}Expand description
Notification that an approval has been granted.
Fields§
§scope_type: ApprovalScopeTypeWhether this approval is for a project or task.
scope_id: StringThe ID of the approved project or task.
approved_at: OffsetDateTimeWhen the approval was granted.
Trait Implementations§
Source§impl Clone for ApprovalGranted
impl Clone for ApprovalGranted
Source§fn clone(&self) -> ApprovalGranted
fn clone(&self) -> ApprovalGranted
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 ApprovalGranted
impl Debug for ApprovalGranted
Source§impl<'de> Deserialize<'de> for ApprovalGranted
impl<'de> Deserialize<'de> for ApprovalGranted
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 ApprovalGranted
impl RoutedBody for ApprovalGranted
Auto Trait Implementations§
impl Freeze for ApprovalGranted
impl RefUnwindSafe for ApprovalGranted
impl Send for ApprovalGranted
impl Sync for ApprovalGranted
impl Unpin for ApprovalGranted
impl UnsafeUnpin for ApprovalGranted
impl UnwindSafe for ApprovalGranted
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