pub struct ExtraFile {
pub path: String,
pub contents: Vec<u8>,
}Expand description
A community-supplied file to commit during bootstrap.
Fields§
§path: StringRepository-relative path.
contents: Vec<u8>Contents.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExtraFile
impl<'de> Deserialize<'de> for ExtraFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExtraFile
impl StructuralPartialEq for ExtraFile
Auto Trait Implementations§
impl Forget for ExtraFile
impl Freeze for ExtraFile
impl Move for ExtraFile
impl RefUnwindSafe for ExtraFile
impl Send for ExtraFilewhere
RawVecInner: Send,
impl Sync for ExtraFilewhere
RawVecInner: Sync,
impl Unpin for ExtraFile
impl UnsafeUnpin for ExtraFile
impl UnwindSafe for ExtraFilewhere
RawVecInner: UnwindSafe,
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