#[non_exhaustive]pub struct MulticloudDataTransferSupportedService {
pub name: String,
pub service_configs: Vec<ServiceConfig>,
/* private fields */
}Expand description
A service in your project in a region that is eligible for Data Transfer Essentials configuration.
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: StringIdentifier. The name of the service.
service_configs: Vec<ServiceConfig>Output only. The network service tier or regional endpoint supported for the service.
Implementations§
Source§impl MulticloudDataTransferSupportedService
impl MulticloudDataTransferSupportedService
pub fn new() -> Self
Sourcepub fn set_service_configs<T, V>(self, v: T) -> Self
pub fn set_service_configs<T, V>(self, v: T) -> Self
Sets the value of service_configs.
§Example
ⓘ
use google_cloud_networkconnectivity_v1::model::ServiceConfig;
let x = MulticloudDataTransferSupportedService::new()
.set_service_configs([
ServiceConfig::default()/* use setters */,
ServiceConfig::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for MulticloudDataTransferSupportedService
impl Clone for MulticloudDataTransferSupportedService
Source§fn clone(&self) -> MulticloudDataTransferSupportedService
fn clone(&self) -> MulticloudDataTransferSupportedService
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 MulticloudDataTransferSupportedService
impl Default for MulticloudDataTransferSupportedService
Source§fn default() -> MulticloudDataTransferSupportedService
fn default() -> MulticloudDataTransferSupportedService
Returns the “default value” for a type. Read more
Source§impl PartialEq for MulticloudDataTransferSupportedService
impl PartialEq for MulticloudDataTransferSupportedService
Source§fn eq(&self, other: &MulticloudDataTransferSupportedService) -> bool
fn eq(&self, other: &MulticloudDataTransferSupportedService) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MulticloudDataTransferSupportedService
Auto Trait Implementations§
impl Freeze for MulticloudDataTransferSupportedService
impl RefUnwindSafe for MulticloudDataTransferSupportedService
impl Send for MulticloudDataTransferSupportedService
impl Sync for MulticloudDataTransferSupportedService
impl Unpin for MulticloudDataTransferSupportedService
impl UnwindSafe for MulticloudDataTransferSupportedService
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