pub struct SchemaField {
pub name: String,
pub field_type: FieldType,
pub description: Option<String>,
pub pattern: Option<String>,
}Expand description
A model-visible field and its native Kora metadata.
Fields§
§name: String§field_type: FieldType§description: Option<String>§pattern: Option<String>Trait Implementations§
Source§impl Clone for SchemaField
impl Clone for SchemaField
Source§fn clone(&self) -> SchemaField
fn clone(&self) -> SchemaField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaField
impl Debug for SchemaField
Auto Trait Implementations§
impl !Send for SchemaField
impl !Sync for SchemaField
impl Freeze for SchemaField
impl RefUnwindSafe for SchemaField
impl Unpin for SchemaField
impl UnsafeUnpin for SchemaField
impl UnwindSafe for SchemaField
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