pub struct IPPolicyRuleUpdate {
pub id: String,
pub description: Option<String>,
pub metadata: Option<String>,
pub cidr: Option<String>,
}
Fields§
§id: String
§description: Option<String>
human-readable description of the source IPs of this IP rule. optional, max 255 bytes.
metadata: Option<String>
arbitrary user-defined machine-readable data of this IP policy rule. optional, max 4096 bytes.
cidr: Option<String>
an IP or IP range specified in CIDR notation. IPv4 and IPv6 are both supported.
Trait Implementations§
Source§impl Clone for IPPolicyRuleUpdate
impl Clone for IPPolicyRuleUpdate
Source§fn clone(&self) -> IPPolicyRuleUpdate
fn clone(&self) -> IPPolicyRuleUpdate
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 IPPolicyRuleUpdate
impl Debug for IPPolicyRuleUpdate
Source§impl Default for IPPolicyRuleUpdate
impl Default for IPPolicyRuleUpdate
Source§fn default() -> IPPolicyRuleUpdate
fn default() -> IPPolicyRuleUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IPPolicyRuleUpdate
impl<'de> Deserialize<'de> for IPPolicyRuleUpdate
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 IPPolicyRuleUpdate
impl RefUnwindSafe for IPPolicyRuleUpdate
impl Send for IPPolicyRuleUpdate
impl Sync for IPPolicyRuleUpdate
impl Unpin for IPPolicyRuleUpdate
impl UnwindSafe for IPPolicyRuleUpdate
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