pub struct CertificateStatus<CustomDataType = NoCustomData> {
pub certificate_hash_data: CertificateHashData<CustomDataType>,
pub custom_data: Option<CustomDataType>,
pub next_update: OcppTimestamp,
pub source: CertificateStatusSourceEnum,
pub status: CertificateStatusEnum,
}Expand description
Revocation status of certificate
Fields§
§certificate_hash_data: CertificateHashData<CustomDataType>§custom_data: Option<CustomDataType>§next_update: OcppTimestamp§source: CertificateStatusSourceEnum§status: CertificateStatusEnumTrait Implementations§
Source§impl<CustomDataType: Clone> Clone for CertificateStatus<CustomDataType>
impl<CustomDataType: Clone> Clone for CertificateStatus<CustomDataType>
Source§fn clone(&self) -> CertificateStatus<CustomDataType>
fn clone(&self) -> CertificateStatus<CustomDataType>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<CustomDataType: Debug> Debug for CertificateStatus<CustomDataType>
impl<CustomDataType: Debug> Debug for CertificateStatus<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for CertificateStatus<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for CertificateStatus<CustomDataType>where
CustomDataType: Deserialize<'de>,
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
impl<CustomDataType: Eq> Eq for CertificateStatus<CustomDataType>
Source§impl<CustomDataType: PartialEq> PartialEq for CertificateStatus<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for CertificateStatus<CustomDataType>
Source§impl<CustomDataType> Serialize for CertificateStatus<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for CertificateStatus<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for CertificateStatus<CustomDataType>
Source§impl<CustomDataType> Validate for CertificateStatus<CustomDataType>
Available on crate feature validate only.
impl<CustomDataType> Validate for CertificateStatus<CustomDataType>
Available on crate feature
validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for CertificateStatus<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for CertificateStatus<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for CertificateStatus<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for CertificateStatus<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for CertificateStatus<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for CertificateStatus<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for CertificateStatus<CustomDataType>where
CustomDataType: UnwindSafe,
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