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