pub struct AuthorizationData {
pub id_tag: String,
pub id_tag_info: Option<IdTagInfo>,
}Expand description
The OCPP 1.6 AuthorizationData data type.
Fields§
§id_tag: StringThe idTag member.
id_tag_info: Option<IdTagInfo>The idTagInfo member.
Implementations§
Trait Implementations§
Source§impl Clone for AuthorizationData
impl Clone for AuthorizationData
Source§impl Debug for AuthorizationData
impl Debug for AuthorizationData
Source§impl<'de> Deserialize<'de> for AuthorizationData
impl<'de> Deserialize<'de> for AuthorizationData
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 AuthorizationData
impl PartialEq for AuthorizationData
Source§impl Serialize for AuthorizationData
impl Serialize for AuthorizationData
impl StructuralPartialEq for AuthorizationData
Source§impl Validate for AuthorizationData
impl Validate for AuthorizationData
Source§fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
fn validate_at(&self, path: &mut ValidationPath, out: &mut Violations)
Appends this value’s violations to
out, relative to path.Auto Trait Implementations§
impl Forget for AuthorizationData
impl Freeze for AuthorizationData
impl Move for AuthorizationData
impl RefUnwindSafe for AuthorizationData
impl Send for AuthorizationData
impl Sync for AuthorizationData
impl Unpin for AuthorizationData
impl UnsafeUnpin for AuthorizationData
impl UnwindSafe for AuthorizationData
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