pub struct EntitySpec {
pub name: ExpandedName,
pub dtype: Option<DType>,
pub validator: Option<Validator>,
pub threshold: Option<Threshold>,
pub description: Option<Description>,
}Fields§
§name: ExpandedName§dtype: Option<DType>§validator: Option<Validator>§threshold: Option<Threshold>§description: Option<Description>Trait Implementations§
Source§impl Clone for EntitySpec
impl Clone for EntitySpec
Source§fn clone(&self) -> EntitySpec
fn clone(&self) -> EntitySpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntitySpec
impl Debug for EntitySpec
Source§impl Default for EntitySpec
impl Default for EntitySpec
Source§fn default() -> EntitySpec
fn default() -> EntitySpec
Returns the “default value” for a type. Read more
Source§impl PartialEq for EntitySpec
impl PartialEq for EntitySpec
Source§impl Serialize for EntitySpec
impl Serialize for EntitySpec
impl StructuralPartialEq for EntitySpec
Auto Trait Implementations§
impl Freeze for EntitySpec
impl RefUnwindSafe for EntitySpec
impl Send for EntitySpec
impl Sync for EntitySpec
impl Unpin for EntitySpec
impl UnsafeUnpin for EntitySpec
impl UnwindSafe for EntitySpec
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