pub struct Pruefidentifikator(/* private fields */);Expand description
§Serde representation
Serialises as a plain JSON number (u32), matching the wire format of
edi_energy::Pruefidentifikator (which is also #[serde(transparent)]
over u32). Stored event payloads are therefore fully compatible with both
representations — no migration needed.
§Why this lives in mako-engine and not edi-energy
Domain event structs and workflow state must only depend on mako-engine,
not on the stateless parsing library edi-energy. Moving the PID type here
removes the edi-energy dependency from all domain crates.
Implementations§
Trait Implementations§
Source§impl Clone for Pruefidentifikator
impl Clone for Pruefidentifikator
Source§fn clone(&self) -> Pruefidentifikator
fn clone(&self) -> Pruefidentifikator
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 moreimpl Copy for Pruefidentifikator
Source§impl Debug for Pruefidentifikator
impl Debug for Pruefidentifikator
Source§impl<'de> Deserialize<'de> for Pruefidentifikator
impl<'de> Deserialize<'de> for Pruefidentifikator
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 Display for Pruefidentifikator
impl Display for Pruefidentifikator
impl Eq for Pruefidentifikator
Source§impl FromStr for Pruefidentifikator
impl FromStr for Pruefidentifikator
Source§impl Hash for Pruefidentifikator
impl Hash for Pruefidentifikator
Source§impl Ord for Pruefidentifikator
impl Ord for Pruefidentifikator
Source§fn cmp(&self, other: &Pruefidentifikator) -> Ordering
fn cmp(&self, other: &Pruefidentifikator) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Pruefidentifikator
impl PartialEq for Pruefidentifikator
Source§fn eq(&self, other: &Pruefidentifikator) -> bool
fn eq(&self, other: &Pruefidentifikator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Pruefidentifikator
impl PartialOrd for Pruefidentifikator
Source§impl Serialize for Pruefidentifikator
impl Serialize for Pruefidentifikator
impl StructuralPartialEq for Pruefidentifikator
Auto Trait Implementations§
impl Freeze for Pruefidentifikator
impl RefUnwindSafe for Pruefidentifikator
impl Send for Pruefidentifikator
impl Sync for Pruefidentifikator
impl Unpin for Pruefidentifikator
impl UnsafeUnpin for Pruefidentifikator
impl UnwindSafe for Pruefidentifikator
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