pub struct BrokerageSessionStatus {
pub mac: Option<String>,
pub authenticated: Option<bool>,
pub competing: Option<bool>,
pub connected: Option<bool>,
pub established: Option<bool>,
pub fail: Option<String>,
pub hardware_info: Option<String>,
pub message: Option<String>,
pub server_info: Option<BrokerageSessionStatusServerInfo>,
}Fields§
§mac: Option<String>Device MAC information.
authenticated: Option<bool>Returns whether your brokerage session is authenticated or not.
competing: Option<bool>Returns whether you have a competing brokerage session in another connection.
connected: Option<bool>Returns whether you are connected to the gateway or not.
established: Option<bool>Returns whether your brokerage session is fully established and ready to handle requests. Set to true when the login message is received from underlying brokerage infrastructure, indicating authentication is complete and account information is loaded.
fail: Option<String>Returns the reason for failing to retrieve authentication status.
hardware_info: Option<String>Client Portal use only.
message: Option<String>A message about your authenticate status if any.
server_info: Option<BrokerageSessionStatusServerInfo>Trait Implementations§
Source§impl Clone for BrokerageSessionStatus
impl Clone for BrokerageSessionStatus
Source§fn clone(&self) -> BrokerageSessionStatus
fn clone(&self) -> BrokerageSessionStatus
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 BrokerageSessionStatus
impl Debug for BrokerageSessionStatus
Source§impl Default for BrokerageSessionStatus
impl Default for BrokerageSessionStatus
Source§impl<'de> Deserialize<'de> for BrokerageSessionStatus
impl<'de> Deserialize<'de> for BrokerageSessionStatus
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 PartialEq for BrokerageSessionStatus
impl PartialEq for BrokerageSessionStatus
impl StructuralPartialEq for BrokerageSessionStatus
Auto Trait Implementations§
impl Freeze for BrokerageSessionStatus
impl RefUnwindSafe for BrokerageSessionStatus
impl Send for BrokerageSessionStatus
impl Sync for BrokerageSessionStatus
impl Unpin for BrokerageSessionStatus
impl UnsafeUnpin for BrokerageSessionStatus
impl UnwindSafe for BrokerageSessionStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension. Read more
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension, using
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses. Read more
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses, using
x-request-id as the header name. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
Intercept requests with over-sized payloads and convert them into
413 Payload Too Large responses. Read more