#[non_exhaustive]pub struct ListIngressRulesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub matching_address: String,
/* private fields */
}Expand description
Request message for Firewall.ListIngressRules.
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.parent: StringName of the Firewall collection to retrieve.
Example: apps/myapp/firewall/ingressRules.
page_size: i32Maximum results to return per page.
page_token: StringContinuation token for fetching the next page of results.
matching_address: StringA valid IP Address. If set, only rules matching this address will be returned. The first returned rule will be the rule that fires on requests from this IP.
Implementations§
Source§impl ListIngressRulesRequest
impl ListIngressRulesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_matching_address<T: Into<String>>(self, v: T) -> Self
pub fn set_matching_address<T: Into<String>>(self, v: T) -> Self
Sets the value of matching_address.
Trait Implementations§
Source§impl Clone for ListIngressRulesRequest
impl Clone for ListIngressRulesRequest
Source§fn clone(&self) -> ListIngressRulesRequest
fn clone(&self) -> ListIngressRulesRequest
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 ListIngressRulesRequest
impl Debug for ListIngressRulesRequest
Source§impl Default for ListIngressRulesRequest
impl Default for ListIngressRulesRequest
Source§fn default() -> ListIngressRulesRequest
fn default() -> ListIngressRulesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListIngressRulesRequest
impl Message for ListIngressRulesRequest
Source§impl PartialEq for ListIngressRulesRequest
impl PartialEq for ListIngressRulesRequest
impl StructuralPartialEq for ListIngressRulesRequest
Auto Trait Implementations§
impl Freeze for ListIngressRulesRequest
impl RefUnwindSafe for ListIngressRulesRequest
impl Send for ListIngressRulesRequest
impl Sync for ListIngressRulesRequest
impl Unpin for ListIngressRulesRequest
impl UnwindSafe for ListIngressRulesRequest
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