pub struct NatPolicyResponse {Show 13 fields
pub id: Uuid,
pub name: String,
pub description: Option<String>,
pub enabled: bool,
pub nat_type: String,
pub interface_id: Option<Uuid>,
pub protocol: Option<String>,
pub source: Option<Value>,
pub destination: Option<Value>,
pub translated_address: Option<String>,
pub translated_port: Option<String>,
pub metadata: Option<Value>,
pub extra: HashMap<String, Value>,
}Fields§
§id: Uuid§name: String§description: Option<String>§enabled: bool§nat_type: String§interface_id: Option<Uuid>§protocol: Option<String>§source: Option<Value>§destination: Option<Value>§translated_address: Option<String>§translated_port: Option<String>§metadata: Option<Value>§extra: HashMap<String, Value>Trait Implementations§
Source§impl Clone for NatPolicyResponse
impl Clone for NatPolicyResponse
Source§fn clone(&self) -> NatPolicyResponse
fn clone(&self) -> NatPolicyResponse
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 NatPolicyResponse
impl Debug for NatPolicyResponse
Source§impl<'de> Deserialize<'de> for NatPolicyResponse
impl<'de> Deserialize<'de> for NatPolicyResponse
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
Source§impl From<NatPolicyResponse> for NatPolicy
impl From<NatPolicyResponse> for NatPolicy
Source§fn from(r: NatPolicyResponse) -> Self
fn from(r: NatPolicyResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NatPolicyResponse
impl PartialEq for NatPolicyResponse
Source§impl Serialize for NatPolicyResponse
impl Serialize for NatPolicyResponse
impl StructuralPartialEq for NatPolicyResponse
Auto Trait Implementations§
impl Freeze for NatPolicyResponse
impl RefUnwindSafe for NatPolicyResponse
impl Send for NatPolicyResponse
impl Sync for NatPolicyResponse
impl Unpin for NatPolicyResponse
impl UnsafeUnpin for NatPolicyResponse
impl UnwindSafe for NatPolicyResponse
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