pub struct AclRule {
pub id: EntityId,
pub name: String,
pub enabled: bool,
pub rule_type: AclRuleType,
pub action: AclAction,
pub source_summary: Option<String>,
pub destination_summary: Option<String>,
pub origin: Option<EntityOrigin>,
/* private fields */
}Expand description
ACL Rule.
Fields§
§id: EntityId§name: String§enabled: bool§rule_type: AclRuleType§action: AclAction§source_summary: Option<String>§destination_summary: Option<String>§origin: Option<EntityOrigin>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AclRule
impl<'de> Deserialize<'de> for AclRule
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<AclRuleResponse> for AclRule
impl From<AclRuleResponse> for AclRule
Source§fn from(r: AclRuleResponse) -> Self
fn from(r: AclRuleResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AclRule
impl RefUnwindSafe for AclRule
impl Send for AclRule
impl Sync for AclRule
impl Unpin for AclRule
impl UnsafeUnpin for AclRule
impl UnwindSafe for AclRule
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