Struct aws_sdk_lightsail::input::DeleteContactMethodInput [−][src]
#[non_exhaustive]pub struct DeleteContactMethodInput {
pub protocol: Option<ContactProtocol>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.protocol: Option<ContactProtocol>
The protocol that will be deleted, such as Email
or SMS
(text
messaging).
To delete an Email
and an SMS
contact method if you added
both, you must run separate DeleteContactMethod
actions to delete each
protocol.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteContactMethod, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteContactMethod, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteContactMethod
>
Creates a new builder-style object to manufacture DeleteContactMethodInput
The protocol that will be deleted, such as Email
or SMS
(text
messaging).
To delete an Email
and an SMS
contact method if you added
both, you must run separate DeleteContactMethod
actions to delete each
protocol.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeleteContactMethodInput
impl Send for DeleteContactMethodInput
impl Sync for DeleteContactMethodInput
impl Unpin for DeleteContactMethodInput
impl UnwindSafe for DeleteContactMethodInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more