pub struct ApprovalDecisionRecord {
pub approved: bool,
pub timestamp: DateTime<Utc>,
pub approver: Option<String>,
pub comments: Option<String>,
}Expand description
Record of an approval decision
Fields§
§approved: boolWhether the step was approved
timestamp: DateTime<Utc>Timestamp of the decision
approver: Option<String>Approver identifier (if available)
comments: Option<String>Approval comments
Trait Implementations§
Source§impl Clone for ApprovalDecisionRecord
impl Clone for ApprovalDecisionRecord
Source§fn clone(&self) -> ApprovalDecisionRecord
fn clone(&self) -> ApprovalDecisionRecord
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 ApprovalDecisionRecord
impl Debug for ApprovalDecisionRecord
Source§impl<'de> Deserialize<'de> for ApprovalDecisionRecord
impl<'de> Deserialize<'de> for ApprovalDecisionRecord
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 ApprovalDecisionRecord
impl RefUnwindSafe for ApprovalDecisionRecord
impl Send for ApprovalDecisionRecord
impl Sync for ApprovalDecisionRecord
impl Unpin for ApprovalDecisionRecord
impl UnwindSafe for ApprovalDecisionRecord
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