pub struct Approval {
pub links: Option<Value>,
pub blocked_approvers: Vec<IdentityRef>,
pub created_on: Option<OffsetDateTime>,
pub execution_order: Option<ExecutionOrder>,
pub id: Option<String>,
pub instructions: Option<String>,
pub last_modified_on: Option<OffsetDateTime>,
pub min_required_approvers: Option<i32>,
pub permissions: Option<Permissions>,
pub status: Option<Status>,
pub steps: Vec<ApprovalStep>,
}
Expand description
Fields§
§links: Option<Value>
Links
blocked_approvers: Vec<IdentityRef>
Identities which are not allowed to approve.
created_on: Option<OffsetDateTime>
Date on which approval got created.
execution_order: Option<ExecutionOrder>
Order in which approvers will be actionable.
id: Option<String>
Unique identifier of the approval.
instructions: Option<String>
Instructions for the approvers.
last_modified_on: Option<OffsetDateTime>
Date on which approval was last modified.
min_required_approvers: Option<i32>
Minimum number of approvers that should approve for the entire approval to be considered approved.
permissions: Option<Permissions>
Current user permissions for approval object.
status: Option<Status>
Overall status of the approval.
steps: Vec<ApprovalStep>
List of steps associated with the approval.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Approval
impl<'de> Deserialize<'de> for Approval
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 PartialEq for Approval
impl PartialEq for Approval
impl StructuralPartialEq for Approval
Auto Trait Implementations§
impl Freeze for Approval
impl RefUnwindSafe for Approval
impl Send for Approval
impl Sync for Approval
impl Unpin for Approval
impl UnwindSafe for Approval
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