pub struct VendorSource {
pub name: String,
pub url: String,
pub branch: Option<String>,
pub base: Option<String>,
pub patterns: Vec<String>,
}Expand description
All metadata required to retrieve necessary objects from a vendor.
Fields§
§name: StringThe unique identifier for this particular vendor.
url: String§branch: Option<String>The branch to track on the upstream remote.
If not specified, this defaults to HEAD.
base: Option<String>The most recent merge base. If not specified, it is assumed that no prior merge has taken place and conflicts must be resolved manually.
patterns: Vec<String>Glob pattern(s) selecting which upstream files to vendor.
Implementations§
Source§impl VendorSource
impl VendorSource
Trait Implementations§
Source§impl Clone for VendorSource
impl Clone for VendorSource
Source§fn clone(&self) -> VendorSource
fn clone(&self) -> VendorSource
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 Hash for VendorSource
impl Hash for VendorSource
Source§impl PartialEq for VendorSource
impl PartialEq for VendorSource
impl Eq for VendorSource
impl StructuralPartialEq for VendorSource
Auto Trait Implementations§
impl Freeze for VendorSource
impl RefUnwindSafe for VendorSource
impl Send for VendorSource
impl Sync for VendorSource
impl Unpin for VendorSource
impl UnsafeUnpin for VendorSource
impl UnwindSafe for VendorSource
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