#[non_exhaustive]pub struct AdminAuditAnomalyAllowUpdateItemRequest {
pub trusted_cidr: Option<Vec<Value>>,
pub trusted_asns: Option<Vec<Value>>,
}Expand description
Arguments for the Slack Web API method admin.audit.anomaly.allow.updateItem: API to allow Enterprise org admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration.
Send it with SlackClient::admin_audit_anomaly_allow_update_item.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.trusted_cidr: Option<Vec<Value>>allow list of IPv4 addresses using cidr notation in the Enterprise organization configuration
trusted_asns: Option<Vec<Value>>allow list of Autonomous System Numbers (ASN) in the Enterprise organization configuration
Implementations§
Source§impl AdminAuditAnomalyAllowUpdateItemRequest
impl AdminAuditAnomalyAllowUpdateItemRequest
pub fn new() -> Self
pub fn trusted_cidr(self, trusted_cidr: Vec<Value>) -> Self
pub fn trusted_asns(self, trusted_asns: Vec<Value>) -> Self
Trait Implementations§
impl StructuralPartialEq for AdminAuditAnomalyAllowUpdateItemRequest
Auto Trait Implementations§
impl Freeze for AdminAuditAnomalyAllowUpdateItemRequest
impl RefUnwindSafe for AdminAuditAnomalyAllowUpdateItemRequest
impl Send for AdminAuditAnomalyAllowUpdateItemRequest
impl Sync for AdminAuditAnomalyAllowUpdateItemRequest
impl Unpin for AdminAuditAnomalyAllowUpdateItemRequest
impl UnsafeUnpin for AdminAuditAnomalyAllowUpdateItemRequest
impl UnwindSafe for AdminAuditAnomalyAllowUpdateItemRequest
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