pub struct SourceMeta {
pub branch: String,
pub commit: String,
pub message: Option<String>,
pub repo_name: Option<String>,
}Expand description
Git metadata for the worktree being submitted.
Fields§
§branch: String§commit: String§message: Option<String>§repo_name: Option<String>owner/repo from the worktree’s git remote, when one exists. None for
a remoteless worktree; the cloud backend requires it to resolve the
pipeline and errors clearly when it is absent.
Trait Implementations§
Source§impl Clone for SourceMeta
impl Clone for SourceMeta
Source§fn clone(&self) -> SourceMeta
fn clone(&self) -> SourceMeta
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 SourceMeta
impl RefUnwindSafe for SourceMeta
impl Send for SourceMeta
impl Sync for SourceMeta
impl Unpin for SourceMeta
impl UnsafeUnpin for SourceMeta
impl UnwindSafe for SourceMeta
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