pub enum PrimaryKeyError {
NotValueType(String),
NotDerivedFromPrimaryKeyBase(String),
HasPrivateStateMembers(String),
HasInterfaceReference(String),
}Expand description
Spec §6.7.2 Constraint-Verletzung.
Variants§
NotValueType(String)
Type ist kein valuetype.
NotDerivedFromPrimaryKeyBase(String)
Type erbt nicht von Components::PrimaryKeyBase.
HasPrivateStateMembers(String)
Type enthaelt Private-State-Members.
HasInterfaceReference(String)
Type referenziert ein Interface (verboten in PK-ValueType).
Trait Implementations§
Source§impl Clone for PrimaryKeyError
impl Clone for PrimaryKeyError
Source§fn clone(&self) -> PrimaryKeyError
fn clone(&self) -> PrimaryKeyError
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 Debug for PrimaryKeyError
impl Debug for PrimaryKeyError
Source§impl PartialEq for PrimaryKeyError
impl PartialEq for PrimaryKeyError
Source§fn eq(&self, other: &PrimaryKeyError) -> bool
fn eq(&self, other: &PrimaryKeyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PrimaryKeyError
impl StructuralPartialEq for PrimaryKeyError
Auto Trait Implementations§
impl Freeze for PrimaryKeyError
impl RefUnwindSafe for PrimaryKeyError
impl Send for PrimaryKeyError
impl Sync for PrimaryKeyError
impl Unpin for PrimaryKeyError
impl UnsafeUnpin for PrimaryKeyError
impl UnwindSafe for PrimaryKeyError
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