#[non_exhaustive]pub struct VpcPeeringConfig {
pub vpc: String,
pub subnet: String,
/* private fields */
}
Expand description
The VPC Peering configuration is used to create VPC peering between Datastream and the consumer’s VPC.
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.vpc: String
Required. Fully qualified name of the VPC that Datastream will peer to.
Format: projects/{project}/global/{networks}/{name}
subnet: String
Required. A free subnet for peering. (CIDR of /29)
Implementations§
Trait Implementations§
Source§impl Clone for VpcPeeringConfig
impl Clone for VpcPeeringConfig
Source§fn clone(&self) -> VpcPeeringConfig
fn clone(&self) -> VpcPeeringConfig
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 VpcPeeringConfig
impl Debug for VpcPeeringConfig
Source§impl Default for VpcPeeringConfig
impl Default for VpcPeeringConfig
Source§fn default() -> VpcPeeringConfig
fn default() -> VpcPeeringConfig
Returns the “default value” for a type. Read more
Source§impl Message for VpcPeeringConfig
impl Message for VpcPeeringConfig
Source§impl PartialEq for VpcPeeringConfig
impl PartialEq for VpcPeeringConfig
impl StructuralPartialEq for VpcPeeringConfig
Auto Trait Implementations§
impl Freeze for VpcPeeringConfig
impl RefUnwindSafe for VpcPeeringConfig
impl Send for VpcPeeringConfig
impl Sync for VpcPeeringConfig
impl Unpin for VpcPeeringConfig
impl UnwindSafe for VpcPeeringConfig
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