pub struct Checkable {
pub checks: Option<Vec<CheckRule>>,
}Expand description
可验证组件的属性
Fields§
§checks: Option<Vec<CheckRule>>验证规则列表
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Checkable
impl<'de> Deserialize<'de> for Checkable
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 StructuralPartialEq for Checkable
Auto Trait Implementations§
impl Freeze for Checkable
impl RefUnwindSafe for Checkable
impl Send for Checkable
impl Sync for Checkable
impl Unpin for Checkable
impl UnsafeUnpin for Checkable
impl UnwindSafe for Checkable
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