pub struct BinaryBuildSource {
pub as_file: Option<String>,
}
Expand description
BinaryBuildSource describes a binary file to be used for the Docker and Source build strategies, where the file will be extracted and used as the build source.
Fields§
§as_file: Option<String>
asFile indicates that the provided binary input should be considered a single file within the build input. For example, specifying “webapp.war” would place the provided binary as /webapp.war
for the builder. If left empty, the Docker and Source build strategies assume this file is a zip, tar, or tar.gz file and extract it as the source. The custom strategy receives this binary as standard input. This filename may not contain slashes or be ‘..’ or ‘.’.
Trait Implementations§
Source§impl Clone for BinaryBuildSource
impl Clone for BinaryBuildSource
Source§fn clone(&self) -> BinaryBuildSource
fn clone(&self) -> BinaryBuildSource
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 BinaryBuildSource
impl Debug for BinaryBuildSource
Source§impl Default for BinaryBuildSource
impl Default for BinaryBuildSource
Source§fn default() -> BinaryBuildSource
fn default() -> BinaryBuildSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BinaryBuildSource
impl<'de> Deserialize<'de> for BinaryBuildSource
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
Source§impl PartialEq for BinaryBuildSource
impl PartialEq for BinaryBuildSource
Source§impl Serialize for BinaryBuildSource
impl Serialize for BinaryBuildSource
impl StructuralPartialEq for BinaryBuildSource
Auto Trait Implementations§
impl Freeze for BinaryBuildSource
impl RefUnwindSafe for BinaryBuildSource
impl Send for BinaryBuildSource
impl Sync for BinaryBuildSource
impl Unpin for BinaryBuildSource
impl UnwindSafe for BinaryBuildSource
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