pub struct GuardV1 {
pub code: String,
pub expr: String,
pub message: Option<String>,
}Fields§
§code: StringThe typed rejection reason.
expr: String§message: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuardV1
impl<'de> Deserialize<'de> for GuardV1
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
impl Eq for GuardV1
impl StructuralPartialEq for GuardV1
Auto Trait Implementations§
impl Freeze for GuardV1
impl RefUnwindSafe for GuardV1
impl Send for GuardV1
impl Sync for GuardV1
impl Unpin for GuardV1
impl UnsafeUnpin for GuardV1
impl UnwindSafe for GuardV1
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