#[non_exhaustive]pub struct PscServiceAttachment {
pub service_attachment: String,
pub connection_type: ConnectionType,
/* private fields */
}Expand description
Configuration of a service attachment of the cluster, for creating PSC connections.
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.service_attachment: StringOutput only. Service attachment URI which your self-created PscConnection should use as target
connection_type: ConnectionTypeOutput only. Type of a PSC connection targeting this service attachment.
Implementations§
Source§impl PscServiceAttachment
impl PscServiceAttachment
pub fn new() -> Self
Sourcepub fn set_service_attachment<T: Into<String>>(self, v: T) -> Self
pub fn set_service_attachment<T: Into<String>>(self, v: T) -> Self
Sets the value of service_attachment.
Sourcepub fn set_connection_type<T: Into<ConnectionType>>(self, v: T) -> Self
pub fn set_connection_type<T: Into<ConnectionType>>(self, v: T) -> Self
Sets the value of connection_type.
Trait Implementations§
Source§impl Clone for PscServiceAttachment
impl Clone for PscServiceAttachment
Source§fn clone(&self) -> PscServiceAttachment
fn clone(&self) -> PscServiceAttachment
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 PscServiceAttachment
impl Debug for PscServiceAttachment
Source§impl Default for PscServiceAttachment
impl Default for PscServiceAttachment
Source§fn default() -> PscServiceAttachment
fn default() -> PscServiceAttachment
Returns the “default value” for a type. Read more
Source§impl Message for PscServiceAttachment
impl Message for PscServiceAttachment
Source§impl PartialEq for PscServiceAttachment
impl PartialEq for PscServiceAttachment
impl StructuralPartialEq for PscServiceAttachment
Auto Trait Implementations§
impl Freeze for PscServiceAttachment
impl RefUnwindSafe for PscServiceAttachment
impl Send for PscServiceAttachment
impl Sync for PscServiceAttachment
impl Unpin for PscServiceAttachment
impl UnwindSafe for PscServiceAttachment
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