pub struct AddIpRestrictionForSubAccountApiKeyParams {
pub email: String,
pub sub_account_api_key: String,
pub status: String,
pub ip_address: Option<String>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [add_ip_restriction_for_sub_account_api_key] operation.
This struct holds all of the inputs you can pass when calling
add_ip_restriction_for_sub_account_api_key.
Fields§
§email: StringThis field is **required.
sub_account_api_key: StringThe sub_account_api_key parameter.
This field is **required.
status: StringIP Restriction status. 1 = IP Unrestricted. 2 = Restrict access to trusted IPs only.
This field is **required.
ip_address: Option<String>Insert static IP in batch, separated by commas.
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl AddIpRestrictionForSubAccountApiKeyParams
impl AddIpRestrictionForSubAccountApiKeyParams
Sourcepub fn builder(
email: String,
sub_account_api_key: String,
status: String,
) -> AddIpRestrictionForSubAccountApiKeyParamsBuilder
pub fn builder( email: String, sub_account_api_key: String, status: String, ) -> AddIpRestrictionForSubAccountApiKeyParamsBuilder
Create a builder for [add_ip_restriction_for_sub_account_api_key].
Required parameters:
email— Sub-account emailsub_account_api_key— Stringstatus— IP Restriction status. 1 = IP Unrestricted. 2 = Restrict access to trusted IPs only.
Trait Implementations§
Source§impl Clone for AddIpRestrictionForSubAccountApiKeyParams
impl Clone for AddIpRestrictionForSubAccountApiKeyParams
Source§fn clone(&self) -> AddIpRestrictionForSubAccountApiKeyParams
fn clone(&self) -> AddIpRestrictionForSubAccountApiKeyParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AddIpRestrictionForSubAccountApiKeyParams
impl RefUnwindSafe for AddIpRestrictionForSubAccountApiKeyParams
impl Send for AddIpRestrictionForSubAccountApiKeyParams
impl Sync for AddIpRestrictionForSubAccountApiKeyParams
impl Unpin for AddIpRestrictionForSubAccountApiKeyParams
impl UnsafeUnpin for AddIpRestrictionForSubAccountApiKeyParams
impl UnwindSafe for AddIpRestrictionForSubAccountApiKeyParams
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