pub struct Policy {
pub kind: String,
pub id: u64,
pub name: String,
pub enable_inbound_forwarding: bool,
pub description: String,
pub networks: PolicyNetwork,
pub alternative_name_server_config: AlternativeNameServerConfig,
pub enable_logging: bool,
}Fields§
§kind: String§id: u64§name: String§enable_inbound_forwarding: bool§description: String§networks: PolicyNetwork§alternative_name_server_config: AlternativeNameServerConfig§enable_logging: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Policy
impl<'de> Deserialize<'de> for Policy
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 Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnwindSafe for Policy
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