Struct google_redis1::api::DiscoveryEndpoint
source · pub struct DiscoveryEndpoint {
pub address: Option<String>,
pub port: Option<i32>,
pub psc_config: Option<PscConfig>,
}
Expand description
Endpoints on each network, for Redis clients to connect to the cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§address: Option<String>
Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
port: Option<i32>
Output only. The port number of the exposed Redis endpoint.
psc_config: Option<PscConfig>
Output only. Customer configuration for where the endpoint is created and accessed from.
Trait Implementations§
source§impl Clone for DiscoveryEndpoint
impl Clone for DiscoveryEndpoint
source§fn clone(&self) -> DiscoveryEndpoint
fn clone(&self) -> DiscoveryEndpoint
Returns a copy 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 DiscoveryEndpoint
impl Debug for DiscoveryEndpoint
source§impl Default for DiscoveryEndpoint
impl Default for DiscoveryEndpoint
source§fn default() -> DiscoveryEndpoint
fn default() -> DiscoveryEndpoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DiscoveryEndpoint
impl<'de> Deserialize<'de> for DiscoveryEndpoint
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
source§impl Serialize for DiscoveryEndpoint
impl Serialize for DiscoveryEndpoint
impl Part for DiscoveryEndpoint
Auto Trait Implementations§
impl RefUnwindSafe for DiscoveryEndpoint
impl Send for DiscoveryEndpoint
impl Sync for DiscoveryEndpoint
impl Unpin for DiscoveryEndpoint
impl UnwindSafe for DiscoveryEndpoint
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