pub struct EndpointInfo {
pub uid: Option<String>,
pub addr: Option<Vec<String>>,
pub port: Option<u16>,
pub dns_name: Option<String>,
pub proxy_policy: Option<String>,
pub addr_type: Option<String>,
pub oss_cluster_api_preferred_ip_type: Option<String>,
pub exclude_proxies: Option<Vec<u32>>,
pub include_proxies: Option<Vec<u32>>,
pub extra: Value,
}
Expand description
Database endpoint information
Fields§
§uid: Option<String>
Unique identifier for the endpoint
addr: Option<Vec<String>>
List of IP addresses for the endpoint
port: Option<u16>
Port number for the endpoint
dns_name: Option<String>
DNS name for the endpoint
proxy_policy: Option<String>
Proxy policy for the endpoint
addr_type: Option<String>
Address type (e.g., “internal”, “external”)
oss_cluster_api_preferred_ip_type: Option<String>
OSS cluster API preferred IP type
exclude_proxies: Option<Vec<u32>>
List of proxy UIDs to exclude
include_proxies: Option<Vec<u32>>
List of proxy UIDs to include
extra: Value
Capture any additional fields
Trait Implementations§
Source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
Source§fn clone(&self) -> EndpointInfo
fn clone(&self) -> EndpointInfo
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 EndpointInfo
impl Debug for EndpointInfo
Source§impl<'de> Deserialize<'de> for EndpointInfo
impl<'de> Deserialize<'de> for EndpointInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EndpointInfo
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin for EndpointInfo
impl UnwindSafe for EndpointInfo
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