#[non_exhaustive]pub struct PrivateConnectivity {
pub private_connection: String,
/* private fields */
}
Expand description
Private Connectivity
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.private_connection: String
Required. A reference to a private connection resource.
Format: projects/{project}/locations/{location}/privateConnections/{name}
Implementations§
Source§impl PrivateConnectivity
impl PrivateConnectivity
pub fn new() -> Self
Sourcepub fn set_private_connection<T: Into<String>>(self, v: T) -> Self
pub fn set_private_connection<T: Into<String>>(self, v: T) -> Self
Sets the value of private_connection.
Trait Implementations§
Source§impl Clone for PrivateConnectivity
impl Clone for PrivateConnectivity
Source§fn clone(&self) -> PrivateConnectivity
fn clone(&self) -> PrivateConnectivity
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 PrivateConnectivity
impl Debug for PrivateConnectivity
Source§impl Default for PrivateConnectivity
impl Default for PrivateConnectivity
Source§fn default() -> PrivateConnectivity
fn default() -> PrivateConnectivity
Returns the “default value” for a type. Read more
Source§impl Message for PrivateConnectivity
impl Message for PrivateConnectivity
Source§impl PartialEq for PrivateConnectivity
impl PartialEq for PrivateConnectivity
impl StructuralPartialEq for PrivateConnectivity
Auto Trait Implementations§
impl Freeze for PrivateConnectivity
impl RefUnwindSafe for PrivateConnectivity
impl Send for PrivateConnectivity
impl Sync for PrivateConnectivity
impl Unpin for PrivateConnectivity
impl UnwindSafe for PrivateConnectivity
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