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