#[non_exhaustive]pub struct PscInterfaceConfig {
pub network_attachment: String,
/* private fields */
}
Expand description
The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer’s PSC.
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.network_attachment: String
Required. Fully qualified name of the Network Attachment that Datastream
will connect to. Format:
projects/{project}/regions/{region}/networkAttachments/{name}
Implementations§
Source§impl PscInterfaceConfig
impl PscInterfaceConfig
pub fn new() -> Self
Sourcepub fn set_network_attachment<T: Into<String>>(self, v: T) -> Self
pub fn set_network_attachment<T: Into<String>>(self, v: T) -> Self
Sets the value of network_attachment.
Trait Implementations§
Source§impl Clone for PscInterfaceConfig
impl Clone for PscInterfaceConfig
Source§fn clone(&self) -> PscInterfaceConfig
fn clone(&self) -> PscInterfaceConfig
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 PscInterfaceConfig
impl Debug for PscInterfaceConfig
Source§impl Default for PscInterfaceConfig
impl Default for PscInterfaceConfig
Source§fn default() -> PscInterfaceConfig
fn default() -> PscInterfaceConfig
Returns the “default value” for a type. Read more
Source§impl Message for PscInterfaceConfig
impl Message for PscInterfaceConfig
Source§impl PartialEq for PscInterfaceConfig
impl PartialEq for PscInterfaceConfig
impl StructuralPartialEq for PscInterfaceConfig
Auto Trait Implementations§
impl Freeze for PscInterfaceConfig
impl RefUnwindSafe for PscInterfaceConfig
impl Send for PscInterfaceConfig
impl Sync for PscInterfaceConfig
impl Unpin for PscInterfaceConfig
impl UnwindSafe for PscInterfaceConfig
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