pub struct UpdateApiAccessRuleRequest {
pub api_access_rule_id: String,
pub ca_ids: Option<Vec<String>>,
pub cns: Option<Vec<String>>,
pub description: Option<String>,
pub dry_run: Option<bool>,
pub ip_ranges: Option<Vec<String>>,
}Fields§
§api_access_rule_id: StringThe ID of the API access rule you want to update.
ca_ids: Option<Vec<String>>One or more IDs of Client Certificate Authorities (CAs).
cns: Option<Vec<String>>One or more Client Certificate Common Names (CNs).
description: Option<String>A new description for the API access rule.
dry_run: Option<bool>If true, checks whether you have the required permissions to perform the action.
ip_ranges: Option<Vec<String>>One or more IPs or CIDR blocks (for example, 192.0.2.0/16).
Implementations§
Source§impl UpdateApiAccessRuleRequest
impl UpdateApiAccessRuleRequest
pub fn new(api_access_rule_id: String) -> UpdateApiAccessRuleRequest
Trait Implementations§
Source§impl Clone for UpdateApiAccessRuleRequest
impl Clone for UpdateApiAccessRuleRequest
Source§fn clone(&self) -> UpdateApiAccessRuleRequest
fn clone(&self) -> UpdateApiAccessRuleRequest
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 UpdateApiAccessRuleRequest
impl Debug for UpdateApiAccessRuleRequest
Source§impl Default for UpdateApiAccessRuleRequest
impl Default for UpdateApiAccessRuleRequest
Source§fn default() -> UpdateApiAccessRuleRequest
fn default() -> UpdateApiAccessRuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateApiAccessRuleRequest
impl<'de> Deserialize<'de> for UpdateApiAccessRuleRequest
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
impl StructuralPartialEq for UpdateApiAccessRuleRequest
Auto Trait Implementations§
impl Freeze for UpdateApiAccessRuleRequest
impl RefUnwindSafe for UpdateApiAccessRuleRequest
impl Send for UpdateApiAccessRuleRequest
impl Sync for UpdateApiAccessRuleRequest
impl Unpin for UpdateApiAccessRuleRequest
impl UnwindSafe for UpdateApiAccessRuleRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.