#[non_exhaustive]pub struct ClusterEndpoint {
pub connections: Vec<ConnectionDetail>,
/* private fields */
}Expand description
ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.
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.connections: Vec<ConnectionDetail>A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.
Implementations§
Source§impl ClusterEndpoint
impl ClusterEndpoint
pub fn new() -> Self
Sourcepub fn set_connections<T, V>(self, v: T) -> Self
pub fn set_connections<T, V>(self, v: T) -> Self
Sets the value of connections.
Trait Implementations§
Source§impl Clone for ClusterEndpoint
impl Clone for ClusterEndpoint
Source§fn clone(&self) -> ClusterEndpoint
fn clone(&self) -> ClusterEndpoint
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 ClusterEndpoint
impl Debug for ClusterEndpoint
Source§impl Default for ClusterEndpoint
impl Default for ClusterEndpoint
Source§fn default() -> ClusterEndpoint
fn default() -> ClusterEndpoint
Returns the “default value” for a type. Read more
Source§impl Message for ClusterEndpoint
impl Message for ClusterEndpoint
Source§impl PartialEq for ClusterEndpoint
impl PartialEq for ClusterEndpoint
impl StructuralPartialEq for ClusterEndpoint
Auto Trait Implementations§
impl Freeze for ClusterEndpoint
impl RefUnwindSafe for ClusterEndpoint
impl Send for ClusterEndpoint
impl Sync for ClusterEndpoint
impl Unpin for ClusterEndpoint
impl UnwindSafe for ClusterEndpoint
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