Struct teo::core::builders::field_builder::FieldBuilder
source · [−]pub struct FieldBuilder { /* private fields */ }
Implementations
sourceimpl FieldBuilder
impl FieldBuilder
pub fn localized_name(&mut self, localized_name: impl Into<String>) -> &mut Self
pub fn description(&mut self, description: impl Into<String>) -> &mut Self
pub fn object_id(&mut self) -> &mut Self
pub fn bool(&mut self) -> &mut Self
pub fn i8(&mut self) -> &mut Self
pub fn i16(&mut self) -> &mut Self
pub fn i32(&mut self) -> &mut Self
pub fn i64(&mut self) -> &mut Self
pub fn i128(&mut self) -> &mut Self
pub fn u8(&mut self) -> &mut Self
pub fn u16(&mut self) -> &mut Self
pub fn u32(&mut self) -> &mut Self
pub fn u64(&mut self) -> &mut Self
pub fn u128(&mut self) -> &mut Self
pub fn f32(&mut self) -> &mut Self
pub fn f64(&mut self) -> &mut Self
pub fn string(&mut self) -> &mut Self
pub fn date(&mut self) -> &mut Self
pub fn datetime(&mut self) -> &mut Self
pub fn enum(&mut self, name: &'static str) -> &mut Self
pub fn vec<F: Fn(&mut FieldBuilder)>(&mut self, build: F) -> &mut Self
pub fn map<F: Fn(&mut FieldBuilder)>(&mut self, build: F) -> &mut Self
pub fn object(&mut self, model: &'static str) -> &mut Self
pub fn atomic(&mut self) -> &mut Self
pub fn nonatomic(&mut self) -> &mut Self
pub fn primary(&mut self) -> &mut Self
pub fn internal(&mut self) -> &mut Self
pub fn readonly(&mut self) -> &mut Self
pub fn writeonly(&mut self) -> &mut Self
pub fn write_once(&mut self) -> &mut Self
pub fn write_on_create(&mut self) -> &mut Self
pub fn write_nonnull(&mut self) -> &mut Self
pub fn unique(&mut self) -> &mut Self
pub fn unique_settings<F: Fn(&mut FieldIndexBuilder)>(
&mut self,
build: F
) -> &mut Self
pub fn index(&mut self) -> &mut Self
pub fn index_settings<F: Fn(&mut FieldIndexBuilder)>(
&mut self,
build: F
) -> &mut Self
pub fn optional(&mut self) -> &mut Self
pub fn required(&mut self) -> &mut Self
pub fn linked_by(&mut self, field: &'static str) -> &mut Self
pub fn link_to(&mut self) -> &mut Self
pub fn temp(&mut self) -> &mut Self
pub fn calculated(&mut self) -> &mut Self
pub fn copy(&mut self) -> &mut Self
pub fn auth_identity(&mut self) -> &mut Self
pub fn auth_by(&mut self, argument: impl Into<Argument>) -> &mut Self
pub fn auto(&mut self) -> &mut Self
pub fn auto_increment(&mut self) -> &mut Self
pub fn on_set<F: Fn(&mut PipelineBuilder)>(&mut self, build: F) -> &mut Self
pub fn on_save<F: Fn(&mut PipelineBuilder)>(&mut self, build: F) -> &mut Self
pub fn on_output<F: Fn(&mut PipelineBuilder)>(&mut self, build: F) -> &mut Self
pub fn assign_identity(&mut self) -> &mut Self
pub fn default(&mut self, value: impl Into<Argument>) -> &mut Self
pub fn permissions<F: Fn(&mut PermissionBuilder)>(
&mut self,
build: F
) -> &mut Self
pub fn column_name(&mut self, name: impl Into<String>) -> &mut Self
pub fn db<F, A>(&mut self, build: F) -> &mut Self where
F: Fn(&mut DatabaseTypeBuilder) -> A,
A: Into<DatabaseType>,
Auto Trait Implementations
impl !RefUnwindSafe for FieldBuilder
impl !Send for FieldBuilder
impl !Sync for FieldBuilder
impl Unpin for FieldBuilder
impl !UnwindSafe for FieldBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more