pub struct CompiledInvariant {
pub id: &'static str,
pub severity: &'static str,
pub chain: &'static str,
pub description: &'static str,
pub message: &'static str,
}Fields§
§id: &'static str§severity: &'static str§chain: &'static str§description: &'static str§message: &'static strTrait Implementations§
Source§impl Clone for CompiledInvariant
impl Clone for CompiledInvariant
Source§fn clone(&self) -> CompiledInvariant
fn clone(&self) -> CompiledInvariant
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 CompiledInvariant
impl Debug for CompiledInvariant
Source§impl Deserialize<'static> for CompiledInvariant
impl Deserialize<'static> for CompiledInvariant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompiledInvariant
impl RefUnwindSafe for CompiledInvariant
impl Send for CompiledInvariant
impl Sync for CompiledInvariant
impl Unpin for CompiledInvariant
impl UnsafeUnpin for CompiledInvariant
impl UnwindSafe for CompiledInvariant
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