Struct cargo_lambda_remote::RemoteConfig
source · pub struct RemoteConfig {
pub profile: Option<String>,
pub region: Option<String>,
pub alias: Option<String>,
pub endpoint_url: Option<String>,
/* private fields */
}
Fields§
§profile: Option<String>
AWS configuration profile to use for authorization
region: Option<String>
AWS region to deploy, if there is no default
alias: Option<String>
AWS Lambda alias to associate the function to
endpoint_url: Option<String>
Custom endpoint URL to target
Implementations§
source§impl RemoteConfig
impl RemoteConfig
pub async fn sdk_config(&self, retry: Option<RetryConfig>) -> SdkConfig
Trait Implementations§
source§impl Args for RemoteConfig
impl Args for RemoteConfig
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl Clone for RemoteConfig
impl Clone for RemoteConfig
source§fn clone(&self) -> RemoteConfig
fn clone(&self) -> RemoteConfig
Returns a copy 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 RemoteConfig
impl Debug for RemoteConfig
source§impl FromArgMatches for RemoteConfig
impl FromArgMatches for RemoteConfig
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn 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
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Auto Trait Implementations§
impl RefUnwindSafe for RemoteConfig
impl Send for RemoteConfig
impl Sync for RemoteConfig
impl Unpin for RemoteConfig
impl UnwindSafe for RemoteConfig
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