pub struct CommitEventParams<'a> {
pub branch: &'a str,
pub parent_hash: Option<&'a str>,
pub title: &'a str,
pub purpose: Option<&'a str>,
pub prev_summary: &'a str,
pub contribution: &'a str,
pub evidence: Vec<Value>,
pub labels: Vec<String>,
}Expand description
Parameters for creating a commit event.
Fields§
§branch: &'a str§parent_hash: Option<&'a str>§title: &'a str§purpose: Option<&'a str>§prev_summary: &'a str§contribution: &'a str§evidence: Vec<Value>§labels: Vec<String>Auto Trait Implementations§
impl<'a> Freeze for CommitEventParams<'a>
impl<'a> RefUnwindSafe for CommitEventParams<'a>
impl<'a> Send for CommitEventParams<'a>
impl<'a> Sync for CommitEventParams<'a>
impl<'a> Unpin for CommitEventParams<'a>
impl<'a> UnsafeUnpin for CommitEventParams<'a>
impl<'a> UnwindSafe for CommitEventParams<'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