pub struct Rule {Show 15 fields
pub position: String,
pub direction: String,
pub action: String,
pub family: String,
pub protocol: String,
pub source_address_start: String,
pub source_address_end: String,
pub source_port_start: String,
pub source_port_end: String,
pub destination_address_start: String,
pub destination_address_end: String,
pub destination_port_start: String,
pub destination_port_end: String,
pub icmp_type: String,
pub comment: String,
}Expand description
One firewall rule, every field a STRING, as the API sends them. See
crate::tf for the two spellings a write arrives in.
Fields§
§position: String§direction: String§action: String§family: String§protocol: String§source_address_start: String§source_address_end: String§source_port_start: String§source_port_end: String§destination_address_start: String§destination_address_end: String§destination_port_start: String§destination_port_end: String§icmp_type: String§comment: StringTrait Implementations§
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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