pub struct ApprovalDelegationResponse {
pub id: Uuid,
pub from_user_id: Uuid,
pub to_user_id: Uuid,
pub valid_from: DateTime<Utc>,
pub valid_until: DateTime<Utc>,
pub workflow_filter: Option<String>,
pub created_at: DateTime<Utc>,
}Expand description
Approval delegation response.
Fields§
§id: UuidDelegation ID.
from_user_id: UuidUser handing over their approval power.
to_user_id: UuidUser receiving the approval power.
valid_from: DateTime<Utc>Start of the validity window (inclusive).
valid_until: DateTime<Utc>End of the validity window (exclusive).
workflow_filter: Option<String>Glob on the workflow name. None means every workflow.
created_at: DateTime<Utc>When the delegation was created.
Trait Implementations§
Source§impl Debug for ApprovalDelegationResponse
impl Debug for ApprovalDelegationResponse
Source§impl From<ApprovalDelegation> for ApprovalDelegationResponse
impl From<ApprovalDelegation> for ApprovalDelegationResponse
Source§fn from(d: ApprovalDelegation) -> Self
fn from(d: ApprovalDelegation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApprovalDelegationResponse
impl RefUnwindSafe for ApprovalDelegationResponse
impl Send for ApprovalDelegationResponse
impl Sync for ApprovalDelegationResponse
impl Unpin for ApprovalDelegationResponse
impl UnsafeUnpin for ApprovalDelegationResponse
impl UnwindSafe for ApprovalDelegationResponse
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