#[non_exhaustive]pub struct CustomInterceptProfile {
pub intercept_endpoint_group: String,
/* private fields */
}Expand description
CustomInterceptProfile defines in-band integration behavior (intercept). It is used by firewall rules with an APPLY_SECURITY_PROFILE_GROUP action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.intercept_endpoint_group: StringRequired. The target InterceptEndpointGroup. When a firewall rule with this security profile attached matches a packet, the packet will be intercepted to the location-local target in this group.
Implementations§
Source§impl CustomInterceptProfile
impl CustomInterceptProfile
pub fn new() -> Self
Sourcepub fn set_intercept_endpoint_group<T: Into<String>>(self, v: T) -> Self
pub fn set_intercept_endpoint_group<T: Into<String>>(self, v: T) -> Self
Sets the value of intercept_endpoint_group.
§Example
ⓘ
let x = CustomInterceptProfile::new().set_intercept_endpoint_group("example");Trait Implementations§
Source§impl Clone for CustomInterceptProfile
impl Clone for CustomInterceptProfile
Source§fn clone(&self) -> CustomInterceptProfile
fn clone(&self) -> CustomInterceptProfile
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 CustomInterceptProfile
impl Debug for CustomInterceptProfile
Source§impl Default for CustomInterceptProfile
impl Default for CustomInterceptProfile
Source§fn default() -> CustomInterceptProfile
fn default() -> CustomInterceptProfile
Returns the “default value” for a type. Read more
Source§impl Message for CustomInterceptProfile
impl Message for CustomInterceptProfile
Source§impl PartialEq for CustomInterceptProfile
impl PartialEq for CustomInterceptProfile
impl StructuralPartialEq for CustomInterceptProfile
Auto Trait Implementations§
impl Freeze for CustomInterceptProfile
impl RefUnwindSafe for CustomInterceptProfile
impl Send for CustomInterceptProfile
impl Sync for CustomInterceptProfile
impl Unpin for CustomInterceptProfile
impl UnsafeUnpin for CustomInterceptProfile
impl UnwindSafe for CustomInterceptProfile
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