Struct cargo_lambda_deploy::Deploy
source · [−]pub struct Deploy {
pub manifest_path: PathBuf,
pub binary_name: Option<String>,
pub env_var: Option<Vec<String>>,
pub env_file: Option<PathBuf>,
pub tracing: Tracing,
pub iam_role: Option<String>,
/* private fields */
}Fields
manifest_path: PathBufPath to Cargo.toml
binary_name: Option<String>Name of the binary to deploy if it doesn’t match the name that you want to deploy it with
env_var: Option<Vec<String>>Option to add one or many environment variables, allows multiple repetitions Use VAR_KEY=VAR_VALUE as format
env_file: Option<PathBuf>Read environment variables from a file
tracing: TracingTracing mode with X-Ray
iam_role: Option<String>IAM Role associated with the function
Implementations
Trait Implementations
sourceimpl FromArgMatches for Deploy
impl FromArgMatches for Deploy
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
sourcefn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches to self.
Auto Trait Implementations
impl RefUnwindSafe for Deploy
impl Send for Deploy
impl Sync for Deploy
impl Unpin for Deploy
impl UnwindSafe for Deploy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more