pub struct Push<'a> {
pub repo: &'a Path,
pub name: &'a str,
pub pushed: &'a str,
pub patch: Option<&'a str>,
pub plans: &'a [String],
pub target: &'a Target,
}Expand description
Everything about the push the hook knows, before the review is bound.
Fields§
§repo: &'a Path§name: &'a str§pushed: &'a str§patch: Option<&'a str>§plans: &'a [String]§target: &'a TargetThe branch target the push publishes: the preview rule reads it.
Auto Trait Implementations§
impl<'a> Freeze for Push<'a>
impl<'a> RefUnwindSafe for Push<'a>
impl<'a> Send for Push<'a>
impl<'a> Sync for Push<'a>
impl<'a> Unpin for Push<'a>
impl<'a> UnsafeUnpin for Push<'a>
impl<'a> UnwindSafe for Push<'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