#[non_exhaustive]pub struct UpdateTunnelDestGroupRequest {
pub tunnel_dest_group: Option<TunnelDestGroup>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
The request to UpdateTunnelDestGroup.
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.tunnel_dest_group: Option<TunnelDestGroup>Required. The new values for the TunnelDestGroup.
update_mask: Option<FieldMask>A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Implementations§
Source§impl UpdateTunnelDestGroupRequest
impl UpdateTunnelDestGroupRequest
pub fn new() -> Self
Sourcepub fn set_tunnel_dest_group<T>(self, v: T) -> Selfwhere
T: Into<TunnelDestGroup>,
pub fn set_tunnel_dest_group<T>(self, v: T) -> Selfwhere
T: Into<TunnelDestGroup>,
Sets the value of tunnel_dest_group.
Sourcepub fn set_or_clear_tunnel_dest_group<T>(self, v: Option<T>) -> Selfwhere
T: Into<TunnelDestGroup>,
pub fn set_or_clear_tunnel_dest_group<T>(self, v: Option<T>) -> Selfwhere
T: Into<TunnelDestGroup>,
Sets or clears the value of tunnel_dest_group.
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Trait Implementations§
Source§impl Clone for UpdateTunnelDestGroupRequest
impl Clone for UpdateTunnelDestGroupRequest
Source§fn clone(&self) -> UpdateTunnelDestGroupRequest
fn clone(&self) -> UpdateTunnelDestGroupRequest
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 UpdateTunnelDestGroupRequest
impl Debug for UpdateTunnelDestGroupRequest
Source§impl Default for UpdateTunnelDestGroupRequest
impl Default for UpdateTunnelDestGroupRequest
Source§fn default() -> UpdateTunnelDestGroupRequest
fn default() -> UpdateTunnelDestGroupRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateTunnelDestGroupRequest
impl PartialEq for UpdateTunnelDestGroupRequest
Source§fn eq(&self, other: &UpdateTunnelDestGroupRequest) -> bool
fn eq(&self, other: &UpdateTunnelDestGroupRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateTunnelDestGroupRequest
Auto Trait Implementations§
impl Freeze for UpdateTunnelDestGroupRequest
impl RefUnwindSafe for UpdateTunnelDestGroupRequest
impl Send for UpdateTunnelDestGroupRequest
impl Sync for UpdateTunnelDestGroupRequest
impl Unpin for UpdateTunnelDestGroupRequest
impl UnwindSafe for UpdateTunnelDestGroupRequest
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