pub struct ApprovalRequestParams<'a> {
pub branch: &'a str,
pub parent_hash: Option<&'a str>,
pub draft_id: &'a str,
pub draft_sha256: &'a str,
pub route_rule_id: &'a str,
pub stage_id: &'a str,
pub role: &'a str,
pub assignees: &'a [String],
pub reason: &'a str,
}Expand description
Parameters for creating an approval_request event.
Fields§
§branch: &'a str§parent_hash: Option<&'a str>§draft_id: &'a str§draft_sha256: &'a str§route_rule_id: &'a str§stage_id: &'a str§role: &'a str§assignees: &'a [String]§reason: &'a strAuto Trait Implementations§
impl<'a> Freeze for ApprovalRequestParams<'a>
impl<'a> RefUnwindSafe for ApprovalRequestParams<'a>
impl<'a> Send for ApprovalRequestParams<'a>
impl<'a> Sync for ApprovalRequestParams<'a>
impl<'a> Unpin for ApprovalRequestParams<'a>
impl<'a> UnsafeUnpin for ApprovalRequestParams<'a>
impl<'a> UnwindSafe for ApprovalRequestParams<'a>
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