pub struct PropertyDefinition {
pub name: String,
pub data_type: String,
pub nullable: bool,
}Expand description
A property definition in a schema.
Fields§
§name: StringProperty name.
data_type: StringProperty type.
nullable: boolWhether the property is nullable.
Trait Implementations§
Source§impl Clone for PropertyDefinition
impl Clone for PropertyDefinition
Source§fn clone(&self) -> PropertyDefinition
fn clone(&self) -> PropertyDefinition
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 moreAuto Trait Implementations§
impl Freeze for PropertyDefinition
impl RefUnwindSafe for PropertyDefinition
impl Send for PropertyDefinition
impl Sync for PropertyDefinition
impl Unpin for PropertyDefinition
impl UnwindSafe for PropertyDefinition
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