pub struct NetworkProtectRuleSetResponse {
pub default_action: NetworkProtectRuleSetDefaultAction,
pub rules: Vec<NetworkProtectRuleResponse>,
pub id: String,
pub created_at: String,
pub updated_at: String,
}Expand description
NetworkProtectRuleSetResponse : A Network Protect rule-set response.
Fields§
§default_action: NetworkProtectRuleSetDefaultAction§rules: Vec<NetworkProtectRuleResponse>Rules in evaluation order with read-only timestamps.
id: StringA read-only unique identifier for a Network Protect resource.
created_at: StringAn ISO 8601 timestamp in UTC.
updated_at: StringAn ISO 8601 timestamp in UTC.
Implementations§
Source§impl NetworkProtectRuleSetResponse
impl NetworkProtectRuleSetResponse
Sourcepub fn new(
default_action: NetworkProtectRuleSetDefaultAction,
rules: Vec<NetworkProtectRuleResponse>,
id: String,
created_at: String,
updated_at: String,
) -> NetworkProtectRuleSetResponse
pub fn new( default_action: NetworkProtectRuleSetDefaultAction, rules: Vec<NetworkProtectRuleResponse>, id: String, created_at: String, updated_at: String, ) -> NetworkProtectRuleSetResponse
A Network Protect rule-set response.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NetworkProtectRuleSetResponse
impl<'de> Deserialize<'de> for NetworkProtectRuleSetResponse
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
impl StructuralPartialEq for NetworkProtectRuleSetResponse
Auto Trait Implementations§
impl Freeze for NetworkProtectRuleSetResponse
impl RefUnwindSafe for NetworkProtectRuleSetResponse
impl Send for NetworkProtectRuleSetResponse
impl Sync for NetworkProtectRuleSetResponse
impl Unpin for NetworkProtectRuleSetResponse
impl UnsafeUnpin for NetworkProtectRuleSetResponse
impl UnwindSafe for NetworkProtectRuleSetResponse
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