pub struct ManifestViolation {
pub reason: String,
pub token_id: Option<Uuid>,
}Expand description
A consistency violation between manifest and payload.
Fields§
§reason: StringHuman-readable description of the violation.
token_id: Option<Uuid>Token ID involved (if applicable).
Trait Implementations§
Source§impl Clone for ManifestViolation
impl Clone for ManifestViolation
Source§fn clone(&self) -> ManifestViolation
fn clone(&self) -> ManifestViolation
Returns a duplicate 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 ManifestViolation
impl Debug for ManifestViolation
Source§impl<'de> Deserialize<'de> for ManifestViolation
impl<'de> Deserialize<'de> for ManifestViolation
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 ManifestViolation
impl PartialEq for ManifestViolation
Source§impl Serialize for ManifestViolation
impl Serialize for ManifestViolation
impl StructuralPartialEq for ManifestViolation
Auto Trait Implementations§
impl Freeze for ManifestViolation
impl RefUnwindSafe for ManifestViolation
impl Send for ManifestViolation
impl Sync for ManifestViolation
impl Unpin for ManifestViolation
impl UnwindSafe for ManifestViolation
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