#[non_exhaustive]pub struct GitSourceContext {
pub url: String,
pub revision_id: String,
/* private fields */
}Expand description
A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: StringGit repository URL.
revision_id: StringGit commit hash.
Implementations§
Trait Implementations§
Source§impl Clone for GitSourceContext
impl Clone for GitSourceContext
Source§fn clone(&self) -> GitSourceContext
fn clone(&self) -> GitSourceContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitSourceContext
impl Debug for GitSourceContext
Source§impl Default for GitSourceContext
impl Default for GitSourceContext
Source§fn default() -> GitSourceContext
fn default() -> GitSourceContext
Returns the “default value” for a type. Read more
Source§impl Message for GitSourceContext
impl Message for GitSourceContext
Source§impl PartialEq for GitSourceContext
impl PartialEq for GitSourceContext
impl StructuralPartialEq for GitSourceContext
Auto Trait Implementations§
impl Freeze for GitSourceContext
impl RefUnwindSafe for GitSourceContext
impl Send for GitSourceContext
impl Sync for GitSourceContext
impl Unpin for GitSourceContext
impl UnsafeUnpin for GitSourceContext
impl UnwindSafe for GitSourceContext
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