pub struct IPPolicyRule {
pub id: String,
pub uri: String,
pub created_at: String,
pub description: String,
pub metadata: String,
pub cidr: String,
pub ip_policy: Ref,
pub action: String,
}
Fields§
§id: String
unique identifier for this IP policy rule
uri: String
URI of the IP policy rule API resource
created_at: String
timestamp when the IP policy rule was created, RFC 3339 format
description: String
human-readable description of the source IPs of this IP rule. optional, max 255 bytes.
metadata: String
arbitrary user-defined machine-readable data of this IP policy rule. optional, max 4096 bytes.
cidr: String
an IP or IP range specified in CIDR notation. IPv4 and IPv6 are both supported.
ip_policy: Ref
object describing the IP policy this IP Policy Rule belongs to
action: String
the action to apply to the policy rule, either allow
or deny
Trait Implementations§
Source§impl Clone for IPPolicyRule
impl Clone for IPPolicyRule
Source§fn clone(&self) -> IPPolicyRule
fn clone(&self) -> IPPolicyRule
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 IPPolicyRule
impl Debug for IPPolicyRule
Source§impl Default for IPPolicyRule
impl Default for IPPolicyRule
Source§fn default() -> IPPolicyRule
fn default() -> IPPolicyRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IPPolicyRule
impl<'de> Deserialize<'de> for IPPolicyRule
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
Auto Trait Implementations§
impl Freeze for IPPolicyRule
impl RefUnwindSafe for IPPolicyRule
impl Send for IPPolicyRule
impl Sync for IPPolicyRule
impl Unpin for IPPolicyRule
impl UnwindSafe for IPPolicyRule
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