pub struct Validation {
pub valid: bool,
pub code: String,
pub message: String,
pub license: Option<Value>,
pub timestamp: i64,
}Fields§
§valid: bool§code: String§message: String§license: Option<Value>§timestamp: i64Trait Implementations§
Source§impl Debug for Validation
impl Debug for Validation
Source§impl<'de> Deserialize<'de> for Validation
impl<'de> Deserialize<'de> for Validation
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
Auto Trait Implementations§
impl Freeze for Validation
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnsafeUnpin for Validation
impl UnwindSafe for Validation
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