pub struct VendorFile {
pub rel: String,
pub bytes: Vec<u8>,
pub executable: bool,
}Expand description
A file to write under the vendor dir.
Fields§
§rel: StringPath relative to the lock’s directory (starts with VENDOR_DIR).
bytes: Vec<u8>§executable: boolTrait Implementations§
Source§impl Clone for VendorFile
impl Clone for VendorFile
Source§fn clone(&self) -> VendorFile
fn clone(&self) -> VendorFile
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 VendorFile
impl RefUnwindSafe for VendorFile
impl Send for VendorFile
impl Sync for VendorFile
impl Unpin for VendorFile
impl UnsafeUnpin for VendorFile
impl UnwindSafe for VendorFile
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