pub struct ConfigServices {
pub common_service_grpc_url: Option<String>,
pub user_service_grpc_url: Option<String>,
pub products_service_grpc_url: Option<String>,
pub jaeger_collector_url: Option<String>,
pub common_service_prometheus_url: Option<String>,
pub user_service_prometheus_url: Option<String>,
pub products_service_prometheus_url: Option<String>,
pub users_service_max_receive_message_size_bytes: Option<i64>,
pub auth_service_grpc_url: Option<String>,
pub auth_service_prometheus_url: Option<String>,
pub search_service_grpc_url: String,
pub search_service_prometheus_url: String,
}Fields§
§common_service_grpc_url: Option<String>§user_service_grpc_url: Option<String>§products_service_grpc_url: Option<String>§jaeger_collector_url: Option<String>§common_service_prometheus_url: Option<String>§user_service_prometheus_url: Option<String>§products_service_prometheus_url: Option<String>§users_service_max_receive_message_size_bytes: Option<i64>§auth_service_grpc_url: Option<String>§auth_service_prometheus_url: Option<String>§search_service_grpc_url: String§search_service_prometheus_url: StringImplementations§
Source§impl ConfigServices
impl ConfigServices
Sourcepub fn common_service_grpc_url(&self) -> &str
pub fn common_service_grpc_url(&self) -> &str
Returns the value of common_service_grpc_url, or the default value if common_service_grpc_url is unset.
Sourcepub fn user_service_grpc_url(&self) -> &str
pub fn user_service_grpc_url(&self) -> &str
Returns the value of user_service_grpc_url, or the default value if user_service_grpc_url is unset.
Sourcepub fn products_service_grpc_url(&self) -> &str
pub fn products_service_grpc_url(&self) -> &str
Returns the value of products_service_grpc_url, or the default value if products_service_grpc_url is unset.
Sourcepub fn jaeger_collector_url(&self) -> &str
pub fn jaeger_collector_url(&self) -> &str
Returns the value of jaeger_collector_url, or the default value if jaeger_collector_url is unset.
Sourcepub fn common_service_prometheus_url(&self) -> &str
pub fn common_service_prometheus_url(&self) -> &str
Returns the value of common_service_prometheus_url, or the default value if common_service_prometheus_url is unset.
Sourcepub fn user_service_prometheus_url(&self) -> &str
pub fn user_service_prometheus_url(&self) -> &str
Returns the value of user_service_prometheus_url, or the default value if user_service_prometheus_url is unset.
Sourcepub fn products_service_prometheus_url(&self) -> &str
pub fn products_service_prometheus_url(&self) -> &str
Returns the value of products_service_prometheus_url, or the default value if products_service_prometheus_url is unset.
Sourcepub fn users_service_max_receive_message_size_bytes(&self) -> i64
pub fn users_service_max_receive_message_size_bytes(&self) -> i64
Returns the value of users_service_max_receive_message_size_bytes, or the default value if users_service_max_receive_message_size_bytes is unset.
Sourcepub fn auth_service_grpc_url(&self) -> &str
pub fn auth_service_grpc_url(&self) -> &str
Returns the value of auth_service_grpc_url, or the default value if auth_service_grpc_url is unset.
Sourcepub fn auth_service_prometheus_url(&self) -> &str
pub fn auth_service_prometheus_url(&self) -> &str
Returns the value of auth_service_prometheus_url, or the default value if auth_service_prometheus_url is unset.
Trait Implementations§
Source§impl Clone for ConfigServices
impl Clone for ConfigServices
Source§fn clone(&self) -> ConfigServices
fn clone(&self) -> ConfigServices
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigServices
impl Debug for ConfigServices
Source§impl Default for ConfigServices
impl Default for ConfigServices
Source§impl<'de> Deserialize<'de> for ConfigServices
impl<'de> Deserialize<'de> for ConfigServices
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>,
Source§impl Message for ConfigServices
impl Message for ConfigServices
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ConfigServices
impl PartialEq for ConfigServices
Source§impl Serialize for ConfigServices
impl Serialize for ConfigServices
impl StructuralPartialEq for ConfigServices
Auto Trait Implementations§
impl Freeze for ConfigServices
impl RefUnwindSafe for ConfigServices
impl Send for ConfigServices
impl Sync for ConfigServices
impl Unpin for ConfigServices
impl UnwindSafe for ConfigServices
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request