pub struct ShapeError {
pub message: String,
pub fix: Option<String>,
}Expand description
A §11.1 shape error: the message (naming effects[i] and the member) and,
since 3.4 (§8), the corrected call when the check can spell it — the
request as given with the offending effect rewritten, canonical JSON.
Fields§
§message: String§fix: Option<String>Trait Implementations§
Source§impl Clone for ShapeError
impl Clone for ShapeError
Source§impl Debug for ShapeError
impl Debug for ShapeError
impl Eq for ShapeError
Source§impl From<String> for ShapeError
impl From<String> for ShapeError
Source§impl PartialEq for ShapeError
impl PartialEq for ShapeError
impl StructuralPartialEq for ShapeError
Auto Trait Implementations§
impl Freeze for ShapeError
impl RefUnwindSafe for ShapeError
impl Send for ShapeError
impl Sync for ShapeError
impl Unpin for ShapeError
impl UnsafeUnpin for ShapeError
impl UnwindSafe for ShapeError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.