pub struct AuthorizeResponse {
pub certificate_status: Option<AuthorizeCertificateStatusEnumType>,
pub id_token_info: IdTokenInfoType,
}
Expand description
AuthorizeResponse
, sent by the
CSMS to the Charging Station in response to an AuthorizeRequest
.
Fields§
§certificate_status: Option<AuthorizeCertificateStatusEnumType>
Certificate status information. - if all certificates are valid: return
Accepted
. - if one of the certificates was revoked, return CertificateRevoked
.
id_token_info: IdTokenInfoType
Contains information about authorization status, expiry and group id.
Trait Implementations§
source§impl Clone for AuthorizeResponse
impl Clone for AuthorizeResponse
source§fn clone(&self) -> AuthorizeResponse
fn clone(&self) -> AuthorizeResponse
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 AuthorizeResponse
impl Debug for AuthorizeResponse
source§impl Default for AuthorizeResponse
impl Default for AuthorizeResponse
source§fn default() -> AuthorizeResponse
fn default() -> AuthorizeResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthorizeResponse
impl<'de> Deserialize<'de> for AuthorizeResponse
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 AuthorizeResponse
impl PartialEq for AuthorizeResponse
source§fn eq(&self, other: &AuthorizeResponse) -> bool
fn eq(&self, other: &AuthorizeResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuthorizeResponse
impl Serialize for AuthorizeResponse
impl StructuralPartialEq for AuthorizeResponse
Auto Trait Implementations§
impl Freeze for AuthorizeResponse
impl RefUnwindSafe for AuthorizeResponse
impl Send for AuthorizeResponse
impl Sync for AuthorizeResponse
impl Unpin for AuthorizeResponse
impl UnwindSafe for AuthorizeResponse
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