pub struct SemanticContract {
pub behavior: SemanticBehavior,
pub classification: SemanticClassification,
pub contract: &'static str,
pub supported_alternative: Option<&'static str>,
}Expand description
Machine-readable answer to “what does Azums guarantee for this behavior?”.
Fields§
§behavior: SemanticBehavior§classification: SemanticClassification§contract: &'static str§supported_alternative: Option<&'static str>Trait Implementations§
Source§impl Clone for SemanticContract
impl Clone for SemanticContract
Source§fn clone(&self) -> SemanticContract
fn clone(&self) -> SemanticContract
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 SemanticContract
Source§impl Debug for SemanticContract
impl Debug for SemanticContract
impl Eq for SemanticContract
Source§impl PartialEq for SemanticContract
impl PartialEq for SemanticContract
impl StructuralPartialEq for SemanticContract
Auto Trait Implementations§
impl Freeze for SemanticContract
impl RefUnwindSafe for SemanticContract
impl Send for SemanticContract
impl Sync for SemanticContract
impl Unpin for SemanticContract
impl UnsafeUnpin for SemanticContract
impl UnwindSafe for SemanticContract
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