#[non_exhaustive]pub struct InterconnectRemoteLocationPermittedConnections {
pub interconnect_location: Option<String>,
/* private fields */
}Available on crate feature
interconnect-remote-locations only.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.interconnect_location: Option<String>Output only. [Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.
Implementations§
Source§impl InterconnectRemoteLocationPermittedConnections
impl InterconnectRemoteLocationPermittedConnections
pub fn new() -> Self
Sourcepub fn set_interconnect_location<T>(self, v: T) -> Self
pub fn set_interconnect_location<T>(self, v: T) -> Self
Sets the value of interconnect_location.
§Example
ⓘ
let x = InterconnectRemoteLocationPermittedConnections::new().set_interconnect_location("example");Sourcepub fn set_or_clear_interconnect_location<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_interconnect_location<T>(self, v: Option<T>) -> Self
Sets or clears the value of interconnect_location.
§Example
ⓘ
let x = InterconnectRemoteLocationPermittedConnections::new().set_or_clear_interconnect_location(Some("example"));
let x = InterconnectRemoteLocationPermittedConnections::new().set_or_clear_interconnect_location(None::<String>);Trait Implementations§
Source§impl Clone for InterconnectRemoteLocationPermittedConnections
impl Clone for InterconnectRemoteLocationPermittedConnections
Source§fn clone(&self) -> InterconnectRemoteLocationPermittedConnections
fn clone(&self) -> InterconnectRemoteLocationPermittedConnections
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 Default for InterconnectRemoteLocationPermittedConnections
impl Default for InterconnectRemoteLocationPermittedConnections
Source§fn default() -> InterconnectRemoteLocationPermittedConnections
fn default() -> InterconnectRemoteLocationPermittedConnections
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterconnectRemoteLocationPermittedConnections
impl PartialEq for InterconnectRemoteLocationPermittedConnections
Source§fn eq(&self, other: &InterconnectRemoteLocationPermittedConnections) -> bool
fn eq(&self, other: &InterconnectRemoteLocationPermittedConnections) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterconnectRemoteLocationPermittedConnections
Auto Trait Implementations§
impl Freeze for InterconnectRemoteLocationPermittedConnections
impl RefUnwindSafe for InterconnectRemoteLocationPermittedConnections
impl Send for InterconnectRemoteLocationPermittedConnections
impl Sync for InterconnectRemoteLocationPermittedConnections
impl Unpin for InterconnectRemoteLocationPermittedConnections
impl UnwindSafe for InterconnectRemoteLocationPermittedConnections
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