pub enum CoralogixRegion {
US1,
US2,
EU1,
EU2,
AP1,
AP2,
AP3,
Custom(String),
}
Expand description
Variants§
US1
US1 region. Associated to the endpoint https://ng-api-grpc.coralogix.com
US2
US2 region. Associated to the endpoint https://ng-api-grpc.cx498.coralogix.com
EU1
EU1 region. Associated to the endpoint https://ng-api-grpc.coralogix.com
EU2
EU2 region. Associated to the endpoint https://ng-api-grpc.eu2.coralogix.com
AP1
AP1 region. Associated to the endpoint https://ng-api-grpc.app.coralogix.in
AP2
AP2 region. Associated to the endpoint https://ng-api-grpc.coralogixsg.com
AP3
AP3 region. Associated to the endpoint https://ng-api-grpc.ap3.coralogix.com
Custom(String)
Custom region. It’s associated with a custom endpoint.
Implementations§
source§impl CoralogixRegion
impl CoralogixRegion
sourcepub fn grpc_endpoint(&self) -> String
pub fn grpc_endpoint(&self) -> String
gRPC endpoint for the corresponding Coralogix region https://coralogix.com/docs/coralogix-domain/
sourcepub fn rest_endpoint(&self) -> String
pub fn rest_endpoint(&self) -> String
REST endpoint for the corresponding Coralogix region https://coralogix.com/docs/coralogix-domain/
Trait Implementations§
source§impl Clone for CoralogixRegion
impl Clone for CoralogixRegion
source§fn clone(&self) -> CoralogixRegion
fn clone(&self) -> CoralogixRegion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CoralogixRegion
impl Debug for CoralogixRegion
Auto Trait Implementations§
impl Freeze for CoralogixRegion
impl RefUnwindSafe for CoralogixRegion
impl Send for CoralogixRegion
impl Sync for CoralogixRegion
impl Unpin for CoralogixRegion
impl UnwindSafe for CoralogixRegion
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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