pub struct ContainerPropertyDefinition {
pub nullable: Option<bool>,
pub auto_increment: Option<bool>,
pub default_value: Option<RawValue>,
pub description: Option<String>,
pub name: Option<String>,
pub type: ContainerPropertyType,
}Expand description
Definition for a container property
Fields§
§nullable: Option<bool>Whether this property is nullable, default true
auto_increment: Option<bool>Whether this property auto-increments.
default_value: Option<RawValue>Default value of this property.
description: Option<String>Property description.
name: Option<String>Property name.
type: ContainerPropertyTypeProperty type.
Trait Implementations§
Source§impl Clone for ContainerPropertyDefinition
impl Clone for ContainerPropertyDefinition
Source§fn clone(&self) -> ContainerPropertyDefinition
fn clone(&self) -> ContainerPropertyDefinition
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 ContainerPropertyDefinition
impl Debug for ContainerPropertyDefinition
Source§impl<'de> Deserialize<'de> for ContainerPropertyDefinition
impl<'de> Deserialize<'de> for ContainerPropertyDefinition
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 ContainerPropertyDefinition
impl RefUnwindSafe for ContainerPropertyDefinition
impl Send for ContainerPropertyDefinition
impl Sync for ContainerPropertyDefinition
impl Unpin for ContainerPropertyDefinition
impl UnwindSafe for ContainerPropertyDefinition
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