pub struct PrContext {
pub provider: ProviderKind,
pub action: String,
pub owner: String,
pub repo: String,
pub pr_number: u64,
pub head_sha: String,
pub head_ref: String,
pub base_ref: String,
pub clone_url: String,
pub head_clone_url: String,
pub pr_url: Option<String>,
pub title: Option<String>,
}Fields§
§provider: ProviderKind§action: String§owner: String§repo: String§pr_number: u64§head_sha: String§head_ref: String§base_ref: String§clone_url: String§head_clone_url: String§pr_url: Option<String>§title: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrContext
impl RefUnwindSafe for PrContext
impl Send for PrContext
impl Sync for PrContext
impl Unpin for PrContext
impl UnsafeUnpin for PrContext
impl UnwindSafe for PrContext
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