pub struct TmpFs {
pub target: String,
pub size: Option<String>,
}Expand description
This mount type allows mounting tmpfs in the build container. See https://docs.docker.com/reference/dockerfile/#run—mounttypetmpfs
Fields§
§target: StringMount path of the tmpfs
size: Option<String>Specify an upper limit on the size of the filesystem.
Trait Implementations§
Source§impl From<ParsableStruct<TmpFsPatch>> for TmpFs
impl From<ParsableStruct<TmpFsPatch>> for TmpFs
Source§fn from(value: ParsableStruct<TmpFsPatch>) -> Self
fn from(value: ParsableStruct<TmpFsPatch>) -> Self
Converts to this type from the input type.
Source§impl From<TmpFsPatch> for TmpFs
impl From<TmpFsPatch> for TmpFs
Source§fn from(value: TmpFsPatch) -> Self
fn from(value: TmpFsPatch) -> Self
Converts to this type from the input type.
Source§impl Patch<ParsableStruct<TmpFsPatch>> for TmpFs
impl Patch<ParsableStruct<TmpFsPatch>> for TmpFs
Source§fn apply(&mut self, patch: ParsableStruct<TmpFsPatch>)
fn apply(&mut self, patch: ParsableStruct<TmpFsPatch>)
Apply a patch
Source§fn into_patch(self) -> ParsableStruct<TmpFsPatch>
fn into_patch(self) -> ParsableStruct<TmpFsPatch>
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> ParsableStruct<TmpFsPatch>
fn into_patch_by_diff(self, previous_struct: Self) -> ParsableStruct<TmpFsPatch>
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> ParsableStruct<TmpFsPatch>
fn new_empty_patch() -> ParsableStruct<TmpFsPatch>
Get an empty patch instance
Source§impl Patch<TmpFsPatch> for TmpFs
impl Patch<TmpFsPatch> for TmpFs
Source§fn apply(&mut self, patch: TmpFsPatch)
fn apply(&mut self, patch: TmpFsPatch)
Apply a patch
Source§fn into_patch(self) -> TmpFsPatch
fn into_patch(self) -> TmpFsPatch
Returns a patch that when applied turns any struct of the same type into
SelfSource§fn into_patch_by_diff(self, previous_struct: Self) -> TmpFsPatch
fn into_patch_by_diff(self, previous_struct: Self) -> TmpFsPatch
Returns a patch that when applied turns
previous_struct into SelfSource§fn new_empty_patch() -> TmpFsPatch
fn new_empty_patch() -> TmpFsPatch
Get an empty patch instance
impl StructuralPartialEq for TmpFs
Auto Trait Implementations§
impl Freeze for TmpFs
impl RefUnwindSafe for TmpFs
impl Send for TmpFs
impl Sync for TmpFs
impl Unpin for TmpFs
impl UnwindSafe for TmpFs
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