pub struct TypePropertyDefinition {
pub nullable: Option<bool>,
pub auto_increment: Option<bool>,
pub default_value: Option<RawValue>,
pub description: Option<String>,
pub name: Option<String>,
pub type: ViewCorePropertyType,
}Expand description
Defintion of a property in type information.
Fields§
§nullable: Option<bool>Whether the property is nullable.
auto_increment: Option<bool>Whether the property auto increments.
default_value: Option<RawValue>Property default value.
description: Option<String>Description of the content and suggested use for this property.
name: Option<String>Readable property name.
type: ViewCorePropertyTypeThe data-type to use when storing the property.
Trait Implementations§
Source§impl Clone for TypePropertyDefinition
impl Clone for TypePropertyDefinition
Source§fn clone(&self) -> TypePropertyDefinition
fn clone(&self) -> TypePropertyDefinition
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 TypePropertyDefinition
impl Debug for TypePropertyDefinition
Source§impl<'de> Deserialize<'de> for TypePropertyDefinition
impl<'de> Deserialize<'de> for TypePropertyDefinition
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 TypePropertyDefinition
impl RefUnwindSafe for TypePropertyDefinition
impl Send for TypePropertyDefinition
impl Sync for TypePropertyDefinition
impl Unpin for TypePropertyDefinition
impl UnwindSafe for TypePropertyDefinition
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