pub struct PrEventParams {
pub branch: String,
pub parent_hash: Option<String>,
pub pr_number: u64,
pub pr_status: String,
pub review_result: Option<String>,
pub blocker_count: u32,
pub time_to_merge_hours: Option<f64>,
pub created_at: String,
pub merged_at: Option<String>,
pub author: String,
pub title: String,
}Expand description
Parameters for creating a pr event.
Fields§
§branch: String§parent_hash: Option<String>§pr_number: u64§pr_status: String§review_result: Option<String>§blocker_count: u32§time_to_merge_hours: Option<f64>§created_at: String§merged_at: Option<String>§title: StringTrait Implementations§
Source§impl Clone for PrEventParams
impl Clone for PrEventParams
Source§fn clone(&self) -> PrEventParams
fn clone(&self) -> PrEventParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PrEventParams
impl RefUnwindSafe for PrEventParams
impl Send for PrEventParams
impl Sync for PrEventParams
impl Unpin for PrEventParams
impl UnsafeUnpin for PrEventParams
impl UnwindSafe for PrEventParams
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