pub struct ViewCorePropertyDefinition {
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,
pub container: TaggedContainerReference,
pub container_property_identifier: String,
pub immutable: bool,
pub constraint_state: ViewConstraintState,
}Expand description
Definition of a view property.
Fields§
§nullable: Option<bool>Whether the property value is optional.
auto_increment: Option<bool>Whether the property value auto-increments.
default_value: Option<RawValue>Default value of the property.
description: Option<String>Description of the content and suggested use for this property.
name: Option<String>Human readable property name.
type: ViewCorePropertyTypeProperty type.
container: TaggedContainerReferenceContainer reference.
container_property_identifier: StringUnique identifier within the referenced container.
immutable: boolWhether this property is immutable.
constraint_state: ViewConstraintStateState of constraints on this property.
Trait Implementations§
Source§impl Clone for ViewCorePropertyDefinition
impl Clone for ViewCorePropertyDefinition
Source§fn clone(&self) -> ViewCorePropertyDefinition
fn clone(&self) -> ViewCorePropertyDefinition
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 ViewCorePropertyDefinition
impl Debug for ViewCorePropertyDefinition
Source§impl<'de> Deserialize<'de> for ViewCorePropertyDefinition
impl<'de> Deserialize<'de> for ViewCorePropertyDefinition
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
Source§impl From<ViewCorePropertyDefinition> for CreateViewProperty
impl From<ViewCorePropertyDefinition> for CreateViewProperty
Source§fn from(value: ViewCorePropertyDefinition) -> Self
fn from(value: ViewCorePropertyDefinition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ViewCorePropertyDefinition
impl RefUnwindSafe for ViewCorePropertyDefinition
impl Send for ViewCorePropertyDefinition
impl Sync for ViewCorePropertyDefinition
impl Unpin for ViewCorePropertyDefinition
impl UnwindSafe for ViewCorePropertyDefinition
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