#[non_exhaustive]pub struct GetNetworkPolicyRequest {
pub name: String,
/* private fields */
}Expand description
Request message for VmwareEngine.GetNetworkPolicy
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.name: StringRequired. The resource name of the network policy to retrieve.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1/networkPolicies/my-network-policy
Implementations§
Trait Implementations§
Source§impl Clone for GetNetworkPolicyRequest
impl Clone for GetNetworkPolicyRequest
Source§fn clone(&self) -> GetNetworkPolicyRequest
fn clone(&self) -> GetNetworkPolicyRequest
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 GetNetworkPolicyRequest
impl Debug for GetNetworkPolicyRequest
Source§impl Default for GetNetworkPolicyRequest
impl Default for GetNetworkPolicyRequest
Source§fn default() -> GetNetworkPolicyRequest
fn default() -> GetNetworkPolicyRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetNetworkPolicyRequest
impl Message for GetNetworkPolicyRequest
Source§impl PartialEq for GetNetworkPolicyRequest
impl PartialEq for GetNetworkPolicyRequest
impl StructuralPartialEq for GetNetworkPolicyRequest
Auto Trait Implementations§
impl Freeze for GetNetworkPolicyRequest
impl RefUnwindSafe for GetNetworkPolicyRequest
impl Send for GetNetworkPolicyRequest
impl Sync for GetNetworkPolicyRequest
impl Unpin for GetNetworkPolicyRequest
impl UnwindSafe for GetNetworkPolicyRequest
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